body{margin:0;background:#f2f2f7;color:#1c1c1e;font-family:Tahoma,Arial,sans-serif}
.box{max-width:650px;margin:8vh auto;padding:28px;background:#fff;border-radius:26px;box-shadow:0 15px 50px #0001}
.icon{font-size:52px}
.title{font-size:24px;font-weight:900;margin:12px 0}
.sub{color:#6e6e73;line-height:1.9}
.grid{display:grid;grid-template-columns:110px 1fr;gap:8px;margin-top:20px;font-size:13px}
.k{color:#8e8e93}
.v{word-break:break-word;direction:ltr;text-align:left;background:#f7f7f9;padding:8px 10px;border-radius:10px}
.hint{margin-top:18px;background:#fff4e5;border:1px solid #ffd59a;padding:14px;border-radius:16px;line-height:1.9}
.id{margin-top:18px;color:#8e8e93;font-size:12px}
.btn{display:inline-block;margin-top:20px;padding:11px 17px;border-radius:13px;background:#007aff;color:#fff;text-decoration:none}
.k-logo-letter{font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:29px;line-height:1;color:currentColor;display:flex;align-items:center;justify-content:center;letter-spacing:-2px}
#settings-page{direction:rtl;max-width:760px;margin:0 auto;padding:10px 18px 34px;box-sizing:border-box;color:var(--text,#111827)}
.kr-settings-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 2px 18px}
.kr-settings-back{width:42px;height:42px;border:0;border-radius:14px;background:transparent;color:var(--text,#111827);display:flex;align-items:center;justify-content:center;cursor:pointer}
.kr-settings-back svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.kr-settings-brand{display:flex;align-items:center;gap:8px;color:var(--red,#ff3b30);font-weight:950;font-size:19px;letter-spacing:-.5px}
.kr-settings-brand img{width:34px;height:34px;border-radius:10px;object-fit:cover}
.kr-settings-title{font-size:24px;font-weight:950;letter-spacing:-.5px;margin:0}
.kr-settings-account{background:var(--card,#fff);border:1px solid rgba(0,0,0,.055);border-radius:25px;box-shadow:0 10px 28px rgba(25,35,55,.06);padding:14px 16px;margin-bottom:15px;display:flex;align-items:center;gap:14px;min-height:108px;box-sizing:border-box}
.kr-settings-account-avatar{width:78px;height:78px;border-radius:50%;overflow:hidden;flex:0 0 78px;background:var(--bg,#f4f4f7);display:flex;align-items:center;justify-content:center;border:3px solid rgba(255,59,48,.16)}
.kr-settings-account-avatar img{width:100%;height:100%;object-fit:cover}
.kr-settings-account-avatar svg{width:35px;height:35px;fill:none;stroke:var(--sub,#8e8e93);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.kr-settings-account-copy{min-width:0;flex:1}
.kr-settings-account-name{font-size:17px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kr-settings-account-username{font-size:12px;color:var(--sub,#8e8e93);margin-top:3px;direction:ltr;text-align:right}
.kr-settings-account-bio{font-size:11px;color:var(--sub,#8e8e93);margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kr-settings-chevron{width:24px;height:24px;flex:0 0 24px;color:var(--sub,#8e8e93);display:flex;align-items:center;justify-content:center}
.kr-settings-chevron svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.kr-settings-section-label{font-size:12px;color:var(--sub,#8e8e93);font-weight:800;margin:16px 7px 7px}
.kr-settings-group{background:var(--card,#fff);border:1px solid rgba(0,0,0,.055);border-radius:22px;box-shadow:0 8px 24px rgba(25,35,55,.045);overflow:hidden;margin-bottom:10px}
.kr-settings-row{width:100%;min-height:62px;padding:0 16px;box-sizing:border-box;border:0;border-bottom:1px solid rgba(0,0,0,.055);background:transparent;color:var(--text,#111827);display:flex;align-items:center;gap:12px;text-align:right;font:inherit;cursor:pointer;touch-action:manipulation}
.kr-settings-row:last-child{border-bottom:0}
.kr-settings-row:active{background:rgba(127,127,127,.055)}
.kr-settings-icon{width:28px;height:28px;flex:0 0 28px;display:flex;align-items:center;justify-content:center;color:var(--text,#1c1c1e)}
.kr-settings-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-settings-row-copy{min-width:0;flex:1}
.kr-settings-row-title{font-size:13px;font-weight:800}
.kr-settings-row-sub{font-size:10px;color:var(--sub,#8e8e93);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kr-settings-row-value{font-size:10px;color:var(--sub,#8e8e93);margin-left:4px}
.kr-settings-danger{margin-top:16px;width:100%;min-height:50px;border:1px solid rgba(255,59,48,.12);border-radius:17px;background:rgba(255,59,48,.055);color:var(--red,#ff3b30);font:800 13px inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
.kr-settings-danger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){#settings-page{padding:6px 13px 24px}
.kr-settings-title{font-size:22px}
.kr-settings-account{border-radius:23px;padding:12px 13px;min-height:100px}
.kr-settings-account-avatar{width:70px;height:70px;flex-basis:70px}
.kr-settings-row{min-height:60px;padding:0 14px}
.kr-settings-section-label{margin-top:14px}}
[data-theme="dark"] #settings-page{color:#f5f5f7}
.dark-mode #settings-page{color:#f5f5f7}
[data-theme="dark"] .kr-settings-account,[data-theme="dark"] .kr-settings-group{background:#1c1c20;border-color:rgba(255,255,255,.08);box-shadow:0 10px 28px rgba(0,0,0,.18)}
[data-theme="dark"] .kr-settings-row{border-bottom-color:rgba(255,255,255,.08)}
[data-theme="dark"] .kr-settings-danger{background:rgba(255,59,48,.1);border-color:rgba(255,59,48,.18)}
:root{ --p: #007aff; --bg: #f2f2f7; --card: #ffffff; --text: #1c1c1e; --sub: #8e8e93; --red: #ff3b30; --border:#e7e7eb; --bottom-nav-height:78px; --kr-soft:#f7f8fb; }
[data-theme="dark"]{ --bg: #0d0d0f; --card: #1c1c1e; --text: #f2f2f7; --sub: #98989f; }
body,.card,.header{ transition: background-color 0.25s ease, color 0.25s ease; }
*{ box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body{ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif; background: var(--bg); color: var(--text); margin: 0; padding-top: 80px; user-select: none; -webkit-user-select: none; overflow-x: hidden; width: 100%; min-width:0; }
.container{ max-width: 550px; margin: 0 auto; padding: 0 15px; }
.header{ position: fixed; top: 0; left: 0; right: 0; height: 75px; background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); transition: 0.3s; }
.header-inner{ width: 100%; max-width: 500px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 15px; }
.logo-k,.brand-logo{ justify-self:center; width:45px; height:45px; background:var(--p); color:#fff; border-radius:14px; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 15px rgba(0,122,255,.3); z-index:11; transition:.3s; overflow:hidden; }
.logo-k svg,.brand-logo svg{width:72%;height:72%;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.brand-logo.large{width:70px;height:70px;border-radius:20px}
.brand-logo.small{width:58px;height:58px;border-radius:18px}
.public-info-page{max-width:720px;margin:25px auto}
.public-info-page .card{margin-top:14px}
.public-info-page h3{margin:0 0 8px;color:var(--text);font-size:15px}
.public-info-page p,.public-info-page li{font-size:12px;line-height:2;color:var(--sub)}
.info-back{display:flex;align-items:center;gap:6px;color:var(--p);font-size:13px;font-weight:700;cursor:pointer;margin-bottom:14px;padding:0 4px}
.info-back svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.info-hero{text-align:center;padding:10px 10px 20px}
.info-hero .brand-logo{margin:0 auto 12px}
.info-hero h2{margin:0 0 8px;color:var(--text)}
.info-hero p{max-width:560px;margin:0 auto;color:var(--sub);font-size:13px;line-height:2}
.nav-group{ display: flex; gap: 10px; align-items: center; transition: 0.4s; }
.nav-group-left{ justify-self: start; }
.nav-group-right{ justify-self: end; }
.nav-btn{ background: var(--card); border: 1px solid rgba(120,120,128,0.16); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--p); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.nav-btn svg{ width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn svg{ width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.header.collapsed .nav-group-left{ transform: translateX(-120px); opacity: 0; pointer-events: none; }
.header.collapsed .nav-group-right{ transform: translateX(120px); opacity: 0; pointer-events: none; }
.fab{ position: fixed; bottom: 24px; right: 20px; width: 56px; height: 56px; border-radius: 50%; background: var(--p); border: none; box-shadow: 0 8px 24px rgba(0,122,255,0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 900; transition: opacity 0.25s ease, transform 0.25s ease; }
.fab svg{ width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fab.fab-swap{ opacity: 0; transform: scale(0.6) translateY(10px); }
#feed-pull-refresh{height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--sub);font-size:11px;font-weight:700;transition:height .18s ease,opacity .18s ease;opacity:0;pointer-events:none;}
#feed-pull-refresh.show{opacity:1;}
#feed-pull-refresh.ready{color:var(--p);}
#feed-pull-refresh .pull-refresh-icon{width:18px;height:18px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;display:block;transform:rotate(0deg);transition:transform .18s ease;}
#feed-pull-refresh.refreshing .pull-refresh-icon{animation:krPullSpin .7s linear infinite;}
@keyframes krPullSpin{to{transform:rotate(360deg);}}
body.k-reels-mode #feed-pull-refresh{display:none!important;}
.card{ background: var(--card); border-radius: 28px; padding: 22px; margin-bottom: 18px; box-shadow: 0 8px 22px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.03); position: relative; }
.k-player{ width: 100%; background: #000; border-radius: 22px; overflow: hidden; margin-top: 15px; position: relative; direction: ltr; }
.dm-post-video-player{ width: 230px; max-width: 100%; margin-top: 1px; border-radius: 12px; }
.dm-post-video-player video{ max-height: 260px; object-fit: contain; background:#000; }
html,body{ overflow-x:hidden !important; max-width:100%; }
body.k-reels-mode{ overflow:hidden !important; width:100%; max-width:100%; }
body.k-reels-mode .container{ max-width:none !important; width:100% !important; padding:0 !important; margin:0 !important; }
body.k-reels-mode #reels-page{ position:fixed; inset:0; width:100%; height:100vh; height:100dvh; z-index:7000; padding:0 !important; margin:0 !important; background:#000; overflow:hidden; }
#reels-feed{ position:fixed; inset:0; z-index:7001; width:100%; height:100vh; height:100dvh; max-width:100%; overflow-y:auto; overflow-x:hidden; display:flex; flex-direction:column; gap:1px; scroll-snap-type:y mandatory; background:#000; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; }
#reels-feed .reels-card{ position:relative; flex:0 0 100vh; flex-basis:100vh; width:100%; max-width:100%; height:100vh; min-height:100vh; height:100dvh; min-height:100dvh; max-height:none; box-sizing:border-box; background:#000; border-radius:0; overflow:hidden; scroll-snap-align:start; scroll-snap-stop:always; box-shadow:none; isolation:isolate; }
#reels-feed .reels-card .reels-video-shell{ position:absolute; inset:0; width:100%; height:100%; background:#000; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:0; box-sizing:border-box; }
#reels-feed .reels-card .reels-video-shell::before{ content:""; position:absolute; inset:-8%; background:#000; z-index:0; }
#reels-feed .reels-image-shell{ cursor:pointer; }
#reels-feed .reels-image{ position:relative; z-index:1; width:100%; height:100%; object-fit:cover; display:block; background:#000; }
#reels-feed .reels-card .reels-video{ position:relative; z-index:1; width:100%; height:100%; object-fit:contain; display:block; background:#000; cursor:pointer; max-width:100vw; max-height:100dvh; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
#reels-feed .reels-card .reels-video:fullscreen{ width:100vw !important; height:100dvh !important; object-fit:contain !important; background:#000; }
#reels-feed .reels-card .reels-video:-webkit-full-screen{ width:100vw !important; height:100vh !important; object-fit:contain !important; background:#000; }
#reels-feed .reels-card .reels-video-shell{ min-height:100dvh; min-width:100vw; }
body.k-reels-mode #global-fullscreen-btn{ display:none !important; }
body.k-reels-mode #notify,body.k-reels-mode #krilz-js-error-panel{ display:none !important; }
#reels-feed .reels-expand,#reels-feed .reels-fullscreen,#reels-feed .reels-zoom,#reels-feed button[aria-label*='بزرگ'],#reels-feed button[aria-label*='fullscreen'],#reels-feed button[title*='fullscreen']{ display:none !important; }
.k-player video,#reels-feed .reels-video{ -webkit-appearance:none; appearance:none; }
.k-player video::-webkit-media-controls,.k-player video::-webkit-media-controls-enclosure,#reels-feed .reels-video::-webkit-media-controls,#reels-feed .reels-video::-webkit-media-controls-enclosure{ display:none !important; }
#reels-feed .reels-card .reels-shade{ position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,rgba(0,0,0,.28) 0%,transparent 25%,transparent 52%,rgba(0,0,0,.86) 100%); z-index:2; }
.reels-page-back{ position:fixed; top:calc(12px + env(safe-area-inset-top)); left:calc(12px + env(safe-area-inset-left)); z-index:100000; width:46px; height:46px; padding:0; border:1px solid rgba(255,255,255,.30); border-radius:50%; background:rgba(0,0,0,.52); color:#fff; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 18px rgba(0,0,0,.42); direction:rtl; }
.reels-page-back span{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.reels-page-back svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; transform:scaleX(-1); }
.reels-page-back:active{ transform:scale(.92); }
.reels-creator-top{ position:static; z-index:auto; color:#fff; direction:rtl; text-align:center; pointer-events:auto; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:3px; width:52px; max-width:52px; flex:0 0 auto; }
.reels-creator-name{ font-size:12px; line-height:1.2; font-weight:900; max-width:70px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-shadow:0 2px 8px rgba(0,0,0,.8); }
.reels-creator-row{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:100%; }
.reels-creator-row img,.reels-creator-row .avatar-placeholder{ width:42px; height:42px; flex:0 0 42px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.95); box-shadow:0 2px 10px rgba(0,0,0,.6); }
.reels-creator-avatar-fallback{ display:flex; align-items:center; justify-content:center; background:rgba(30,30,30,.92); color:#fff; overflow:hidden; }
.reels-creator-avatar-fallback svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.reels-creator-row img + .reels-creator-avatar-fallback.hidden{ display:none !important; }
.reels-creator-row img{ background:#111; }
.reels-creator-top .reels-follow-btn{ pointer-events:auto; font-size:9px; padding:5px 7px; margin:0; max-width:52px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.reels-creator-top .reels-user-id,.reels-creator-top .reels-user-info{ display:none !important; }
.reels-bottom .reels-user{ display:none !important; }
body.k-reels-mode.k-reels-profile-open #reels-page{ visibility:hidden; }
body.k-reels-mode.k-reels-profile-open #user-profile-overlay{ display:block !important; visibility:visible !important; }
body.k-reels-mode.k-reels-profile-open #user-profile-overlay.hidden{ display:block !important; }
.reels-center-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) scale(.78); width:76px; height:76px; border-radius:50%; background:rgba(8,8,12,.58); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; z-index:7; backdrop-filter:blur(10px); box-shadow:0 8px 30px rgba(0,0,0,.28); }
.reels-center-play.show{ opacity:1; }
#reels-feed .reels-center-play.show{ animation: reelsGesturePop .72s cubic-bezier(.18,.89,.32,1.28) both; }
#reels-feed .reels-center-play.gesture-mute{ animation: reelsMutePop .72s cubic-bezier(.2,.8,.2,1) both; }
#reels-feed .reels-center-play.gesture-like{ animation:none; }
@keyframes reelsGesturePop{
            0% { opacity:0; transform:translate(-50%,-50%) scale(.45) rotate(-8deg); filter:blur(5px); }
            22% { opacity:1; transform:translate(-50%,-50%) scale(1.14) rotate(2deg); filter:blur(0); }
            45% { transform:translate(-50%,-50%) scale(.98) rotate(0); }
            100% { opacity:0; transform:translate(-50%,-50%) scale(.82); }
        }
@keyframes reelsMutePop{
            0% { opacity:0; transform:translate(-50%,-50%) scale(.5); }
            18% { opacity:1; transform:translate(-50%,-50%) scale(1.12); }
            42% { transform:translate(-50%,-50%) scale(1); }
            70% { opacity:1; }
            100% { opacity:0; transform:translate(-50%,-50%) scale(.9); }
        }
.reels-center-play.gesture-mute::after{ content:""; position:absolute; inset:9px; border:2px solid rgba(255,255,255,.35); border-radius:50%; animation:reelsMuteRing .72s ease-out both; }
@keyframes reelsMuteRing{ 0%{transform:scale(.55);opacity:.05} 45%{transform:scale(1);opacity:.65} 100%{transform:scale(1.25);opacity:0} }
.reels-center-play svg{ width:29px; height:29px; position:relative; z-index:1; }
.reels-like-burst{ position:absolute; left:50%; top:50%; width:132px; height:132px; transform:translate(-50%,-50%) scale(.25); opacity:0; pointer-events:none; z-index:8; display:flex; align-items:center; justify-content:center; }
.reels-like-burst.show{ animation:reelsHeartBurst .82s cubic-bezier(.16,1,.3,1) both; }
.reels-like-burst::before{ content:""; width:86px; height:86px; border-radius:50%; background:rgba(0,0,0,.28); box-shadow:0 0 0 0 rgba(255,255,255,.22); animation:reelsHeartHalo .82s ease-out both; }
.reels-like-burst svg{ position:absolute; width:72px; height:72px; fill:#fff; stroke:#fff; stroke-width:1.2; filter:drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
@keyframes reelsHeartBurst{ 0%{opacity:0;transform:translate(-50%,-50%) scale(.2) rotate(-18deg)} 20%{opacity:1;transform:translate(-50%,-50%) scale(1.28) rotate(6deg)} 42%{transform:translate(-50%,-50%) scale(.92) rotate(-2deg)} 68%{opacity:1;transform:translate(-50%,-50%) scale(1.04) rotate(0)} 100%{opacity:0;transform:translate(-50%,-50%) scale(1.2)} }
@keyframes reelsHeartHalo{ 0%{transform:scale(.2);opacity:0;box-shadow:0 0 0 0 rgba(255,255,255,.3)} 35%{opacity:1;box-shadow:0 0 0 14px rgba(255,255,255,.06)} 100%{transform:scale(1.4);opacity:0;box-shadow:0 0 0 34px rgba(255,255,255,0)} }
.dm-shared-reel{display:flex;gap:9px;align-items:center;width:min(290px,78vw);padding:7px;border-radius:13px;background:rgba(127,127,127,.10);cursor:pointer;overflow:hidden;border:1px solid rgba(127,127,127,.12)}
.dm-shared-reel-media{position:relative;width:64px;height:82px;border-radius:9px;overflow:hidden;background:#111;flex:0 0 64px;display:flex;align-items:center;justify-content:center}
.dm-shared-reel-media video{width:100%;height:100%;object-fit:cover;pointer-events:none}
.dm-shared-reel-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.16)}
.dm-shared-reel-play svg{width:24px;height:24px}
.dm-shared-reel-placeholder{color:var(--sub)}
.dm-shared-reel-info{min-width:0;text-align:right;direction:rtl}
.dm-shared-reel-title{font-weight:800;font-size:12px}
.dm-shared-reel-author{font-size:11px;color:var(--sub);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-shared-reel-hint{font-size:10px;color:var(--sub);margin-top:5px}
.dm-shared-reel:active{transform:scale(.985)}
#reels-comments-sheet{position:fixed;inset:0;z-index:9500;display:none;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.38);backdrop-filter:blur(3px)}
#reels-comments-sheet.open{display:flex}
#reels-comments-panel{width:100%;max-width:620px;max-height:min(86dvh,820px);background:var(--card);border-radius:24px 24px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -8px 30px rgba(0,0,0,.22)}
#reels-comments-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(0,0,0,.08);direction:rtl}
#reels-comments-list{flex:1;overflow:auto;padding:10px 12px 14px;direction:rtl}
.reels-comment-item{display:flex;gap:9px;align-items:flex-start;padding:10px 2px;direction:rtl}
.reels-comment-item.reply{margin-right:42px;padding-top:7px;padding-bottom:7px}
.reels-comment-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 34px;background:var(--bg)}
.reels-comment-item.reply .reels-comment-avatar{width:28px;height:28px;flex-basis:28px}
.reels-comment-body{min-width:0;flex:1;text-align:right}
.reels-comment-name{font-size:12px;font-weight:800}
.reels-comment-time{font-size:10px;color:var(--sub);margin-right:6px}
.reels-comment-text{font-size:13px;line-height:1.6;margin-top:3px;overflow-wrap:anywhere}
.reels-comment-audio{display:flex;align-items:center;gap:7px;margin-top:7px;direction:rtl;max-width:100%}
.reels-comment-audio>span{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--p);color:#fff;flex:0 0 30px}
.reels-comment-audio svg{width:15px;height:15px}
.reels-comment-audio audio{width:min(250px,calc(100% - 38px));height:36px;accent-color:var(--p)}
.reels-comment-actions{display:flex;align-items:center;gap:14px;margin-top:6px;color:var(--sub);font-size:11px;direction:rtl}
.reels-comment-action{border:0;background:none;color:inherit;padding:2px 0;cursor:pointer;font:inherit;display:inline-flex;align-items:center;gap:4px}
.reels-comment-action.liked{color:var(--p);font-weight:800}
.reels-comment-action svg{width:15px;height:15px}
.reels-comment-more{position:static;margin-right:auto}
.reels-comment-more-btn{border:0;background:none;color:var(--sub);padding:4px 6px;cursor:pointer;border-radius:8px}
.reels-comment-more-btn:active{background:rgba(127,127,127,.12)}
.reels-comment-menu{position:fixed;right:auto;top:auto;z-index:120000;min-width:160px;max-width:min(220px,calc(100vw - 20px));max-height:min(55dvh,360px);overflow-y:auto;overflow-x:hidden;background:var(--card);border:1px solid rgba(0,0,0,.10);border-radius:13px;box-shadow:0 10px 30px rgba(0,0,0,.24);padding:5px;display:none;box-sizing:border-box}
.reels-comment-menu.open{display:block}
.reels-comment-menu button{display:block;width:100%;border:0;background:none;text-align:right;padding:10px 11px;border-radius:9px;color:inherit;font:inherit;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reels-comment-menu button:hover{background:var(--bg)}
.reels-comment-replies{margin-top:2px}
.reels-comment-view-replies{border:0;background:none;color:var(--sub);font-size:11px;font-weight:700;padding:5px 0;cursor:pointer}
#reels-comments-panel{height:auto;max-height:calc(var(--reels-vh,100dvh) - 14px);padding-bottom:env(safe-area-inset-bottom);}
#reels-comments-list{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#reels-comment-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;padding:10px 12px 10px;border-top:1px solid rgba(0,0,0,.08);background:var(--card);direction:rtl;position:relative;z-index:3;flex:0 0 auto;box-sizing:border-box}
#reels-comment-input{flex:1;min-width:0;width:0;border:1px solid rgba(127,127,127,.24);border-radius:999px;padding:11px 14px;resize:none;min-height:44px;max-height:92px;background:var(--bg);color:inherit;font:inherit;font-size:13px;line-height:1.45;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
#reels-comment-input:focus{border-color:var(--p);box-shadow:0 0 0 3px color-mix(in srgb,var(--p) 12%,transparent)}
#reels-comment-input::placeholder{color:var(--sub);opacity:.9}
.reels-comment-action-slot{width:44px;height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center}
.reels-comment-mode-btn{width:44px;height:44px;flex:0 0 44px;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer;font:800 12px inherit;touch-action:manipulation;box-sizing:border-box}
#reels-comment-mic{border-radius:50%;background:var(--p);color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.10)}
#reels-comment-mic svg{width:20px;height:20px}
#reels-comment-send{border-radius:999px;background:var(--p);color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.10);padding:0 4px}
#reels-comment-send:disabled{opacity:.55;cursor:wait}
.reels-comment-mode-btn.is-hidden{display:none!important}
.reels-comment-mode-btn.is-visible{display:flex!important}
#reels-comment-form.is-recording .reels-comment-action-slot{display:none!important}
#reels-comment-recording{display:none;align-items:center;gap:9px;width:100%;min-height:44px;direction:rtl}
#reels-comment-recording.active{display:flex}
.reels-recording-status{flex:1;min-width:0;display:flex;align-items:center;gap:9px;padding:8px 12px;border-radius:999px;background:var(--bg);color:inherit;border:1px solid rgba(127,127,127,.16)}
.reels-recording-dot{width:9px;height:9px;border-radius:50%;background:var(--p);flex:0 0 9px;animation:reelsRecordPulse 1s ease-in-out infinite}
@keyframes reelsRecordPulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.12)}}
#reels-comment-recording-time{font-variant-numeric:tabular-nums;font-weight:850;min-width:40px}
#reels-comment-recording-label{font-size:12px;font-weight:700;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reels-record-btn{height:40px;border:0;border-radius:999px;padding:0 13px;font:800 12px inherit;cursor:pointer;touch-action:manipulation}
.reels-record-send{background:var(--p);color:#fff}
.reels-record-cancel{background:var(--bg);color:var(--sub);border:1px solid rgba(127,127,127,.16)}
#reels-comment-status{display:none;position:absolute;right:12px;left:12px;bottom:calc(100% + 6px);padding:8px 11px;border-radius:12px;background:var(--card);border:1px solid rgba(127,127,127,.15);box-shadow:0 8px 22px rgba(0,0,0,.12);font-size:11px;text-align:right;direction:rtl;color:var(--sub);z-index:4}
#reels-comment-status.show{display:block}
@media (max-width:420px){#reels-comment-form{gap:6px;padding-inline:9px}
.reels-comment-action-slot,.reels-comment-mode-btn{width:44px;flex-basis:44px}
#reels-comment-send{font-size:12px}
.reels-record-btn{padding-inline:10px}
.reels-recording-status{gap:7px;padding-inline:10px}}
@media (prefers-reduced-motion:reduce){.reels-comment-mode-btn,.reels-recording-dot{transition:none;animation:none}}
.reels-side-actions{ position:absolute; right:calc(10px + env(safe-area-inset-right)); bottom:calc(112px + env(safe-area-inset-bottom)); z-index:8; display:flex; flex-direction:column; gap:clamp(7px,1.6vh,16px); align-items:center; max-height:calc(100dvh - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow:visible; justify-content:flex-end; }
.reels-action{ width:52px; min-height:52px; height:52px; padding:0; border:0; border-radius:50%; background:transparent; color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; cursor:pointer; text-shadow:0 1px 5px #000; flex:0 0 auto; }
.reels-action svg{ width:31px; height:31px; filter:drop-shadow(0 2px 5px rgba(0,0,0,.78)); }
.reels-action small{ font-size:12px; line-height:1; font-weight:800; text-shadow:0 1px 5px #000; }
.reels-action:active{ transform:scale(.90); }
.reels-more-wrap{position:relative;width:52px;min-height:52px;height:52px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.reels-more-btn{width:52px;height:52px;border:0;border-radius:50%;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;font-size:31px;line-height:1;cursor:pointer;text-shadow:0 2px 6px #000; padding:0;}
.reels-more-menu{position:absolute;right:58px;top:50%;transform:translateY(-50%);min-width:150px;background:rgba(20,20,24,.96);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:6px;display:none;z-index:100004;box-shadow:0 10px 30px rgba(0,0,0,.35);backdrop-filter:blur(12px);}
.reels-more-menu.open{display:flex;flex-direction:column;gap:3px;}
.reels-more-menu button{border:0;background:transparent;color:#fff;text-align:right;padding:11px 12px;border-radius:10px;font:700 13px inherit;cursor:pointer;white-space:nowrap;}
.reels-more-menu button:active{background:rgba(255,255,255,.12);}
.reels-more-menu button.saved{color:var(--p);}
.reels-more-menu .reels-danger-menu-btn{color:#ff453a;}
#reels-feed .reels-like-action.like-pop{animation:reelsLikePop .24s ease-out}
@keyframes reelsLikePop{0%{transform:scale(1)}45%{transform:scale(1.22)}100%{transform:scale(1)}}
#reels-feed .reels-like-action.liked{ color:var(--p); }
#reels-feed .reels-dislike-action.disliked{ color:var(--red); }
.reels-save-action.saved svg{ filter:drop-shadow(0 2px 5px rgba(0,0,0,.78)); }
.reels-bottom{ position:absolute; left:calc(14px + env(safe-area-inset-left)); right:calc(78px + env(safe-area-inset-right)); bottom:calc(12px + env(safe-area-inset-bottom)); z-index:8; color:#fff; direction:rtl; text-align:right; pointer-events:none; max-height:calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow:hidden; }
.reels-caption{ font-size:14px; line-height:1.6; max-width:100%; margin:0 0 9px; display:block; max-height:3.2em; overflow:hidden; text-shadow:0 1px 6px rgba(0,0,0,.82); pointer-events:auto; cursor:pointer; position:relative; transition:max-height .24s ease, background .2s ease, padding .2s ease, border-radius .2s ease; touch-action:pan-y; }
.reels-caption::after{ content:'بیشتر'; position:absolute; left:0; bottom:0; padding:8px 22px 2px 4px; font-size:11px; font-weight:800; color:rgba(255,255,255,.96); background:linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,0)); text-shadow:0 1px 4px #000; }
.reels-caption.expanded{ max-height:min(52dvh,430px); overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; background:rgba(0,0,0,.66); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); padding:12px 13px; border:1px solid rgba(255,255,255,.16); border-radius:14px; text-shadow:0 1px 5px rgba(0,0,0,.9); }
.reels-caption.expanded::after{ content:'بستن'; top:0; bottom:auto; left:auto; right:0; padding:8px 10px; background:rgba(0,0,0,.48); border-radius:0 14px 0 10px; }
.reels-caption a{ pointer-events:auto; position:relative; z-index:2; }
.reels-caption .reels-hashtags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;pointer-events:auto}
.reels-caption .reels-hashtag{border:0;background:rgba(255,255,255,.13);color:#fff;border-radius:999px;padding:5px 9px;font:800 11px inherit;cursor:pointer}
.reels-caption .kr-link-preview{display:flex!important;margin-top:10px;max-width:100%;min-height:58px;pointer-events:auto}
.reels-caption.expanded .kr-link-preview{max-height:190px;overflow:hidden}
.reel-share-filter{flex:1;border:1px solid var(--line);background:var(--bg);color:var(--sub);border-radius:10px;padding:8px 6px;font:800 10px inherit;cursor:pointer}
.reel-share-filter.active{background:var(--p);color:#fff;border-color:var(--p)}
.reels-user{ display:flex; align-items:center; justify-content:flex-start; gap:8px; min-height:40px; height:40px; pointer-events:auto; cursor:pointer; direction:rtl; }
.reels-user img,.reels-user .avatar-placeholder{ width:38px; height:38px; flex:0 0 38px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.92); box-shadow:0 2px 8px rgba(0,0,0,.5); }
.reels-user-info{ min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:1px; }
.reels-user-name{ font-size:14px; line-height:1.2; font-weight:850; max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.reels-user-id{ font-size:11px; line-height:1.2; direction:ltr; unicode-bidi:plaintext; opacity:.86; max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.reels-follow-btn{ pointer-events:auto; flex:0 0 auto; margin-right:2px; padding:7px 12px; border:1px solid rgba(255,255,255,.58); border-radius:18px; background:rgba(0,0,0,.40); color:#fff; font-size:11px; font-weight:800; cursor:pointer; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); box-shadow:0 2px 8px rgba(0,0,0,.35); }
.reels-follow-btn:active{ transform:scale(.94); }
.reels-follow-btn.is-following{ background:#fff; color:#111; border-color:#fff; box-shadow:0 2px 10px rgba(0,0,0,.28); }
.reels-progress{ position:absolute; left:0; right:0; bottom:0; height:3px; z-index:10; background:rgba(255,255,255,.28); cursor:pointer; touch-action:none; }
.reels-progress-fill{ height:100%; width:0; background:#fff; border-radius:0; transform-origin:left center; }
.reels-time{ display:none !important; }
@media(max-width:600px){#reels-feed,#reels-feed .reels-card,#reels-feed .reels-card .reels-video-shell{ width:100vw; max-width:100vw; }
#reels-feed .reels-card .reels-video{ width:100%; height:100%; object-fit:contain; }
#reels-feed .reels-card{width:100%;max-width:100%;height:100vh;height:100dvh;min-height:100vh;min-height:100dvh;border-radius:0;}
.reels-creator-top{max-width:52px;gap:3px;}
.reels-creator-name{font-size:13px;max-width:180px;}
.reels-creator-row img,.reels-creator-row .avatar-placeholder{width:38px;height:38px;flex-basis:38px;}
.reels-page-back{top:calc(10px + env(safe-area-inset-top));left:calc(10px + env(safe-area-inset-left));width:44px;height:44px;}
.reels-side-actions{right:calc(8px + env(safe-area-inset-right));bottom:calc(104px + env(safe-area-inset-bottom));gap:clamp(5px,1.2vh,13px);max-height:calc(100dvh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom));}
.reels-action{width:46px;min-height:46px;height:46px;}
.reels-action svg{width:29px;height:29px;}
.reels-bottom{left:calc(12px + env(safe-area-inset-left));right:calc(68px + env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));max-height:calc(100dvh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom));}
.reels-caption{font-size:13px;margin-bottom:8px;line-height:1.6;max-height:3.2em;}
.reels-user img,.reels-user .avatar-placeholder{width:36px;height:36px;flex-basis:36px;}
.reels-user-name{font-size:13px;max-width:135px;}
.reels-user-id{font-size:10px;max-width:135px;}
.reels-follow-btn{padding:6px 10px;font-size:10px;}}
@media(min-width:601px){.reels-side-actions{right:calc(18px + env(safe-area-inset-right));}
.reels-bottom{right:calc(96px + env(safe-area-inset-right));max-width:620px;}}
.k-player video{ width: 100%; display: block; }
.k-player::after{ content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 46px; background: linear-gradient(transparent, rgba(0,0,0,0.35)); pointer-events: none; }
.k-center-icon{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; background: rgba(0,0,0,0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.k-center-icon.show{ opacity: 1; }
.k-center-icon svg{ width: 22px; height: 22px; }
.k-mute-btn{ position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; background: rgba(0,0,0,0.4); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; }
.k-progress{ position: absolute; bottom: 0; left: 0; right: 0; height: 20px; display: flex; align-items: flex-end; cursor: pointer; z-index: 4; }
.k-progress-track{ position: relative; width: 100%; height: 3px; background: rgba(255,255,255,0.3); }
.k-progress-fill{ position: absolute; top: 0; bottom: 0; right: 0; left: auto; background: #fff; }
.k-photo{ position: relative; margin-top: 15px; border-radius: 22px; overflow: hidden; cursor: pointer; }
.k-photo img{ width: 100%; display: block; }
.k-expand-hint{ position: absolute; bottom: 10px; left: 10px; width: 28px; height: 28px; background: rgba(0,0,0,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.dot-menu{ position: absolute; top: 15px; left: 15px; cursor: pointer; color: var(--sub); font-size: 24px; z-index: 50; padding: 10px; }
.rank-chip{ display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 800; vertical-align: -3px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); flex-shrink: 0; }
.dropdown{ position: absolute; top: 50px; left: 15px; background: #fff; border-radius: 18px; box-shadow: 0 15px 45px rgba(0,0,0,0.15); width: 180px; z-index: 1000; display: none; overflow: hidden; border: 1px solid #f2f2f7; }
.dropdown div{ padding: 14px 18px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f2f2f7; text-align: right; color: var(--text); }
.dropdown div:hover{ background: #f9f9fb; color: var(--p); }
.post-actions{ display: flex; gap: 18px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #f2f2f7; align-items: center; direction: rtl; }
.btn-act{ cursor: pointer; font-size: 12px; color: var(--sub); display: flex; align-items: center; background: none; border: none; font-weight: 700; gap: 5px; }
.liked{ color: var(--p); }
.disliked{ color: var(--red); }
.replies-container{ margin-top: 15px; border-right: 2.5px solid rgba(0,122,255,0.1); padding-right: 15px; display: block; }
.cat-bar{ background: var(--card); border-radius: 20px; margin-bottom: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.cat-bar-head{ display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; cursor: pointer; font-size: 13px; font-weight: 800; gap: 10px; }
.cat-bar-head-label{ display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.cat-bar-body{ display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 16px 16px; border-top: 1px solid #f2f2f7; padding-top: 14px; }
.cat-chip-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip{ font-size: 12.5px; font-weight: 700; padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: 0.15s; white-space: nowrap; }
.cat-chip.active{ box-shadow: 0 3px 10px rgba(0,0,0,0.15); }
.cat-pill{ font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.tag{ color: var(--p); font-weight: 700; cursor: pointer; }
.kr-link{ color: var(--p); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; word-break: break-word; cursor: pointer; }
.kr-username-link{ display: inline-flex; align-items: center; gap: 2px; color: var(--p); font-weight: 700; text-decoration: none; background: color-mix(in srgb, var(--p) 10%, transparent); border-radius: 7px; padding: 1px 5px; cursor: pointer; }
.kr-username-link:hover{ text-decoration: underline; }
#upload-status{display:none;align-items:center;gap:7px;width:min(180px,48vw);height:4px;margin:4px auto 0;position:relative;z-index:20;direction:ltr;}
.kr-upload-mini-track{height:3px;flex:1;min-width:0;background:rgba(127,127,127,.18);border-radius:999px;overflow:hidden;}
.kr-upload-mini-fill{height:100%;width:0%;background:var(--p);border-radius:999px;transition:width .12s linear;}
.kr-upload-mini-pct{font-size:8px;line-height:1;font-weight:800;color:var(--sub);min-width:22px;text-align:right;}
.kr-upload-mini-meta{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:8px;line-height:1;color:var(--sub);font-weight:700;direction:rtl;}
.kr-upload-mini-meta span{display:inline-block;min-width:0;}
#notify{ position: fixed; top: 90px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.8); color: #fff; padding: 12px 25px; border-radius: 30px; z-index: 5000; display: none; font-size: 13px; backdrop-filter: blur(10px); }
#fs-overlay{ position: fixed; inset: 0; background: #000; z-index: 6000; display: none; align-items: center; justify-content: center; }
#fs-overlay img{ max-width: 100%; max-height: 100%; }
body.kr-profile-open{overflow:hidden!important;background:#050608!important;}
body.kr-profile-open #nav,body.kr-profile-open #kr-bottom-nav,body.kr-profile-open #fab-btn{display:none!important;}
body.kr-profile-open{overflow:hidden!important;background:#06070a!important;}
body.kr-profile-open #nav,body.kr-profile-open #kr-bottom-nav,body.kr-profile-open #fab-btn{display:none!important;}
#user-profile-overlay.kr-profile-redesign{
            position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
            z-index:100002!important;display:block;visibility:visible;background:#06070a!important;
            color:#f7f7f8;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
            -webkit-overflow-scrolling:touch;scrollbar-width:none;
        }
#user-profile-overlay.kr-profile-redesign::-webkit-scrollbar{display:none;}
#user-profile-overlay.kr-profile-redesign .kr-profile-shell{
            width:100%;max-width:760px;min-height:100%;margin:0 auto;padding:0 0 calc(28px + env(safe-area-inset-bottom));
            direction:rtl;background:#06070a;box-sizing:border-box;
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-cover{
            height:176px;position:relative;overflow:hidden;background:
            radial-gradient(circle at 78% 20%,rgba(255,39,93,.48),transparent 30%),
            radial-gradient(circle at 12% 30%,rgba(255,47,66,.25),transparent 34%),
            linear-gradient(140deg,#310914 0%,#110b12 52%,#1b0610 100%);
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-cover::before{
            content:"";position:absolute;width:330px;height:180px;right:-80px;top:-95px;border-radius:50%;
            background:rgba(255,37,86,.24);filter:blur(38px);pointer-events:none;
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-cover img{
            width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.56) saturate(.92);
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-cover::after{
            content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,6,8,.18),rgba(5,6,8,.08) 42%,#06070a 100%);pointer-events:none;
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar{
            position:absolute;z-index:4;top:max(10px,env(safe-area-inset-top));left:0;right:0;
            display:grid;grid-template-columns:44px 1fr 88px;align-items:center;padding:0 12px;direction:ltr;
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar button{
            width:42px;height:42px;border:1px solid rgba(255,255,255,.14);border-radius:15px;
            background:rgba(8,9,13,.34);color:#fff;display:flex;align-items:center;justify-content:center;
            cursor:pointer;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 7px 22px rgba(0,0,0,.18);
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar button:active{transform:scale(.94);}
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar-title{justify-self:center;color:#fff;font-size:14px;font-weight:900;opacity:.96;text-shadow:0 2px 12px rgba(0,0,0,.45);}
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar-actions{position:relative;display:flex;justify-content:flex-end;gap:7px;direction:ltr;}
#user-profile-overlay.kr-profile-redesign .kr-profile-identity{
            position:relative;margin-top:-45px;padding:0 16px 18px;z-index:5;text-align:center;
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-avatar-wrap{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;}
#user-profile-overlay.kr-profile-redesign .kr-profile-avatar{
            width:104px;height:104px;flex:0 0 104px;border-radius:50%;padding:3px;
            background:linear-gradient(135deg,#ff2e55 0%,#ff006e 52%,#ff9d16 100%);
            box-sizing:border-box;box-shadow:0 14px 38px rgba(0,0,0,.58),0 0 0 5px #06070a;position:relative;
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-avatar::after{content:"";position:absolute;inset:4px;border:2px solid rgba(255,255,255,.16);border-radius:50%;pointer-events:none;}
#user-profile-overlay.kr-profile-redesign .kr-profile-avatar img,#user-profile-overlay.kr-profile-redesign .kr-profile-avatar .placeholder{width:100%;height:100%;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#171920;color:#8d919a;}
#user-profile-overlay.kr-profile-redesign .kr-profile-avatar svg{width:47px;height:47px;fill:none;stroke:currentColor;stroke-width:1.5;}
#user-profile-overlay.kr-profile-redesign .kr-profile-identity-copy{min-width:0;width:100%;}
#user-profile-overlay.kr-profile-redesign .kr-profile-name-row{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 3px;min-width:0;}
#user-profile-overlay.kr-profile-redesign .kr-profile-name{font-size:22px;font-weight:950;line-height:1.25;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;max-width:90%;}
#user-profile-overlay.kr-profile-redesign .kr-profile-verified{width:18px;height:18px;flex:0 0 18px;color:#ff375f;}
#user-profile-overlay.kr-profile-redesign .kr-profile-verified svg{width:100%;height:100%;fill:currentColor;stroke:#fff;stroke-width:1.5;}
#user-profile-overlay.kr-profile-redesign .kr-profile-username{font-size:12px;color:#969ba6;direction:ltr;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#user-profile-overlay.kr-profile-redesign .kr-profile-bio{font-size:13px;line-height:1.9;color:#e2e3e7;margin:10px auto 0;white-space:pre-wrap;max-width:560px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-account-status{display:none!important;}
#user-profile-overlay.kr-profile-redesign .kr-profile-meta{display:none!important;}
#user-profile-overlay.kr-profile-redesign .kr-profile-stats{
            display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:18px auto 14px;padding:15px 4px;
            max-width:620px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:rgba(255,255,255,.025);
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-stat{position:relative;border:0;background:transparent;color:#fff;text-align:center;padding:2px 8px;cursor:pointer;font-family:inherit;min-width:0;}
#user-profile-overlay.kr-profile-redesign .kr-profile-stat:not(:last-child)::after{content:"";position:absolute;top:4px;bottom:4px;left:0;width:1px;background:rgba(255,255,255,.09);}
#user-profile-overlay.kr-profile-redesign .kr-profile-stat strong{display:block;font-size:19px;font-weight:950;line-height:1.2;letter-spacing:-.2px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-stat span{display:block;font-size:10.5px;color:#979ca7;margin-top:5px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 auto 18px;max-width:620px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-actions:empty{display:none;margin:0;}
#user-profile-overlay.kr-profile-redesign .kr-profile-action{height:46px;border-radius:14px;border:1px solid #2a2d35;background:#121419;color:#fff;font-family:inherit;font-size:12.5px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;transition:transform .15s ease,background .15s ease,border-color .15s ease;}
#user-profile-overlay.kr-profile-redesign .kr-profile-action:active{transform:scale(.985);}
#user-profile-overlay.kr-profile-redesign .kr-profile-action.primary{background:linear-gradient(135deg,#ff304f,#ff1744);border-color:#ff304f;box-shadow:0 9px 25px rgba(255,48,79,.18);}
#user-profile-overlay.kr-profile-redesign .kr-profile-action.primary.is-following{background:#1b1e26;border-color:#3a3f4b;color:#fff;box-shadow:none;}
#user-profile-overlay.kr-profile-redesign .kr-profile-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
#user-profile-overlay.kr-profile-redesign .kr-highlights{display:none!important;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tabs{
            display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);
            margin:0;position:sticky;top:0;background:rgba(6,7,10,.9);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:6;
        }
#user-profile-overlay.kr-profile-redesign .kr-profile-tab{height:52px;border:0;border-bottom:2px solid transparent;background:transparent;color:#6f7581;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-family:inherit;font-size:11.5px;font-weight:850;transition:color .15s ease,border-color .15s ease;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tab.active{color:#fff;border-bottom-color:#ff304f;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
#user-profile-overlay.kr-profile-redesign .kr-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding-top:2px;content-visibility:auto;contain-intrinsic-size:600px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tile{position:relative;aspect-ratio:1/1;overflow:hidden;background:#101116;cursor:pointer;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tile img,#user-profile-overlay.kr-profile-redesign .kr-profile-tile video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tile:active img,#user-profile-overlay.kr-profile-redesign .kr-profile-tile:active video{transform:scale(.985);}
#user-profile-overlay.kr-profile-redesign .kr-profile-tile .tile-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;padding:7px;color:#fff;background:linear-gradient(transparent 55%,rgba(0,0,0,.6));font-size:10px;pointer-events:none;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tile .tile-type{position:absolute;top:7px;right:7px;color:#fff;filter:drop-shadow(0 1px 4px #000);}
#user-profile-overlay.kr-profile-redesign .kr-profile-tile .tile-type svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
#user-profile-overlay.kr-profile-redesign .kr-profile-text-tile{height:100%;padding:14px;box-sizing:border-box;color:#eee;font-size:11.5px;line-height:1.8;display:flex;align-items:flex-end;background:linear-gradient(145deg,#15171d,#0b0c0f);}
#user-profile-overlay.kr-profile-redesign .kr-profile-empty{grid-column:1/-1;text-align:center;color:#737985;padding:76px 20px;font-size:12px;line-height:1.9;}
#user-profile-overlay.kr-profile-redesign .kr-profile-settings{position:fixed;top:calc(max(10px,env(safe-area-inset-top)) + 54px);right:12px;width:min(180px,calc(100vw - 24px));min-width:0;box-sizing:border-box;background:rgba(23,24,29,.98);border:1px solid #30323a;border-radius:15px;box-shadow:0 18px 50px rgba(0,0,0,.5);padding:6px;display:none;z-index:100;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
#user-profile-overlay.kr-profile-redesign .kr-profile-settings button{display:flex;align-items:center;gap:9px;width:100%;padding:11px;border:0;border-radius:11px;background:transparent;color:#eee;font-family:inherit;font-size:12px;text-align:right;cursor:pointer;}
#user-profile-overlay.kr-profile-redesign .kr-profile-settings button:hover{background:#23252b;}
#user-profile-overlay.kr-profile-redesign .kr-profile-settings svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
@media(min-width:761px){#user-profile-overlay.kr-profile-redesign .kr-profile-shell{box-shadow:0 0 80px rgba(0,0,0,.32);}}
@media(max-width:430px){#user-profile-overlay.kr-profile-redesign .kr-profile-cover{height:170px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-identity{margin-top:-42px;padding-inline:14px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-avatar{width:98px;height:98px;flex-basis:98px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-name{font-size:20px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-bio{font-size:12.5px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-stats{margin-top:16px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-action{height:44px;font-size:12px;}}
@media(max-width:360px){#user-profile-overlay.kr-profile-redesign .kr-profile-cover{height:164px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-avatar{width:92px;height:92px;flex-basis:92px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-name{font-size:18px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-username{font-size:11px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar{padding-inline:10px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tab{font-size:10.5px;gap:5px;}}
.up-tab{ flex: 1; background: none; border: none; padding: 12px; font-size: 14px; font-weight: 700; color: var(--sub); cursor: pointer; border-bottom: 3px solid transparent; }
.up-tab.active{ color: var(--p); border-bottom-color: var(--p); }
textarea{ width: 100%; border: 1px solid #efeff4; border-radius: 20px; padding: 18px; background: #f9f9f9; font-family: inherit; font-size: 16px; outline: none; resize: none; direction: rtl; }
input[type="text"],input[type="password"],input[type="email"]{ width: 100%; border: 1px solid #efeff4; border-radius: 18px; padding: 15px 18px; background: #f9f9f9; font-family: inherit; font-size: 15px; outline: none; direction: rtl; }
.btn-main{ background: var(--p); color: #fff; border: none; padding: 16px; border-radius: 20px; cursor: pointer; font-weight: 800; width: 100%; font-size: 16px; }
.provider-badge{ width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; border: 1px solid #eee; }
.provider-badge svg,.provider-badge span{ width: 20px; height: 20px; }
.provider-row{ display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 16px; padding: 13px 16px; margin-bottom: 8px; text-align: right; flex-wrap: wrap; }
.provider-row .info{ flex: 1; min-width: 0; }
.provider-row .info .title{ font-weight: 700; font-size: 13.5px; }
.provider-row .info .sub{ font-size: 11px; color: var(--sub); margin-top: 2px; }
.provider-btn{ flex-shrink: 0; border: none; border-radius: 12px; padding: 8px 14px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.provider-btn.connect{ background: var(--p); color: #fff; }
.provider-btn.disconnect{ background: #fdeeee; color: var(--red); }
.spinner{ display: inline-block; width: 12px; height: 12px; border: 2px solid #ddd; border-top-color: var(--p); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -2px; margin-left: 4px; }
@keyframes spin{ to { transform: rotate(360deg); } }
@keyframes slideUp{ from { transform: translateY(100%); opacity: 0.6; } to { transform: translateY(0); opacity: 1; } }
@keyframes typingDot{ 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-3px); opacity: 1; } }
.dm-date-sep{ align-self: center; background: rgba(0,0,0,0.06); color: var(--sub); font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 12px; margin: 6px 0; }
#dm-thread-messages{ direction: rtl; text-align: right; }
#dm-thread-messages .dm-bubble-wrap{ align-self: flex-end; align-items: flex-start; direction: rtl; }
#dm-thread-messages .dm-bubble-wrap.mine{ align-self: flex-start; align-items: flex-end; }
#dm-thread-messages .dm-bubble,#dm-thread-messages .dm-bubble-media{ direction: rtl; text-align: right; }
#dm-thread-messages .dm-audio,#dm-thread-messages .dm-audio *{ direction: ltr; text-align: left; }
#dm-thread-messages .dm-bubble{ user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; touch-action:manipulation; }
#dm-reaction-popover button,#dm-floating-menu div,#dm-floating-menu button{ -webkit-tap-highlight-color:transparent; }
#dm-thread-messages .dm-date-sep{ direction: rtl; }
.dm-typing-dots{ display: inline-flex; align-items: center; gap: 3px; }
.dm-typing-dots span{ width: 4px; height: 4px; border-radius: 50%; background: #34c759; animation: typingDot 1.1s infinite; }
.dm-typing-dots span:nth-child(2){ animation-delay: 0.15s; }
.dm-typing-dots span:nth-child(3){ animation-delay: 0.3s; }
.k-audio-kind{ width:34px; height:34px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; background:rgba(0,122,255,.12); color:var(--p); }
.k-audio-kind svg{ width:18px; height:18px; }
.k-audio-time{ min-width:34px; text-align:center; color:var(--sub); font-size:9.5px; font-variant-numeric:tabular-nums; direction:ltr; }
.dm-bubble-wrap{ align-self:flex-start; width:fit-content; max-width:78%; display:flex; flex-direction:column; align-items:flex-start; }
.dm-bubble-wrap.mine{ align-self:flex-end; align-items:flex-end; }
.dm-bubble{ width:fit-content; max-width:100%; background:var(--card); color:var(--text); padding:7px 9px; border-radius:15px; border-bottom-left-radius:4px; font-size:13.5px; line-height:1.5; white-space:pre-wrap; word-break:break-word; cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.07); border:1px solid rgba(0,0,0,.035); }
.dm-bubble.mine{ background:#34c759; color:#fff; border:0; border-bottom-right-radius:4px; border-bottom-left-radius:15px; }
.dm-bubble-media{ max-width:230px; overflow:hidden; border-radius:12px; margin:1px 0 5px; }
.dm-bubble-media img,.dm-bubble-media video{ display:block; width:auto; height:auto; max-width:230px; max-height:260px; border-radius:12px; }
.dm-video-frame{ position:relative; background:#050505; width:230px; max-width:100%; overflow:hidden; }
.dm-video-frame video{ width:100%; height:260px; max-width:100%; object-fit:contain; display:block; background:#000; cursor:pointer; max-width:100vw; max-height:100dvh; -webkit-appearance:none; appearance:none; }
.dm-video-frame video::-webkit-media-controls,.dm-video-frame video::-webkit-media-controls-enclosure,.dm-video-frame video::-webkit-media-controls-panel{ display:none !important; opacity:0 !important; }
.dm-video-center{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:48px; height:48px; border-radius:50%; background:rgba(0,0,0,.48); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:.16s ease; backdrop-filter:blur(8px); }
.dm-video-center.show{ opacity:1; }
.dm-video-center svg{ width:21px; height:21px; }
.dm-video-controls{ position:absolute; left:7px; right:7px; bottom:7px; height:34px; display:flex; align-items:center; gap:7px; direction:ltr; z-index:3; }
.dm-video-btn{ width:29px; height:29px; flex:0 0 29px; border:0; border-radius:9px; background:rgba(0,0,0,.52); color:#fff; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; backdrop-filter:blur(8px); }
.dm-video-btn svg{ width:15px; height:15px; }
.dm-video-track{ flex:1; height:5px; border-radius:99px; background:rgba(255,255,255,.30); overflow:hidden; cursor:pointer; }
.dm-video-progress{ width:0; height:100%; border-radius:99px; background:#fff; }
.dm-video-time{ min-width:48px; color:#fff; font-size:9px; font-variant-numeric:tabular-nums; text-align:center; direction:ltr; text-shadow:0 1px 3px #000; }
.dm-media-expand{ position:absolute; right:7px; top:7px; width:29px; height:29px; border:0; border-radius:9px; background:rgba(0,0,0,.48); color:#fff; display:flex; align-items:center; justify-content:center; z-index:4; }
.dm-media-expand svg{ width:15px; height:15px; }
#dm-video-fullscreen{ position:fixed; inset:0; background:#000; z-index:100000; display:none; align-items:center; justify-content:center; }
#dm-video-fullscreen.show{ display:flex; }
#dm-video-fullscreen video{ width:100vw; height:100vh; object-fit:contain; background:#000; }
#dm-video-fullscreen video::-webkit-media-controls,#dm-video-fullscreen video::-webkit-media-controls-enclosure{ display:none !important; }
.dm-vfs-close{ position:absolute; top:calc(12px + env(safe-area-inset-top)); right:14px; z-index:5; width:40px; height:40px; border:0; border-radius:50%; background:rgba(0,0,0,.5); color:#fff; display:flex; align-items:center; justify-content:center; }
.dm-vfs-close svg{ width:20px; height:20px; }
.dm-audio{ width:220px; max-width:100%; display:flex; align-items:center; gap:8px; padding:7px; border-radius:13px; background:rgba(0,0,0,.055); direction:ltr; }
.dm-bubble.mine .dm-audio{ background:rgba(255,255,255,.13); }
.dm-audio-btn{ width:32px; height:32px; border:0; border-radius:11px; background:var(--p); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.dm-bubble.mine .dm-audio-btn{ background:rgba(255,255,255,.22); }
.dm-audio-btn svg{ width:15px; height:15px; }
.dm-audio-icon{ width:25px; height:25px; display:flex; align-items:center; justify-content:center; color:var(--p); flex-shrink:0; }
.dm-bubble.mine .dm-audio-icon{ color:#fff; }
.dm-audio-icon svg{ width:20px; height:20px; }
.dm-audio-track{ flex:1; min-width:55px; }
.dm-audio-line{ height:5px; border-radius:99px; background:rgba(0,0,0,.10); overflow:hidden; cursor:pointer; }
.dm-bubble.mine .dm-audio-line{ background:rgba(255,255,255,.25); }
.dm-audio-progress{ height:100%; width:0; border-radius:99px; background:var(--p); }
.dm-bubble.mine .dm-audio-progress{ background:#fff; }
.dm-audio-duration{ min-width:30px; text-align:center; font-size:9px; color:var(--sub); direction:ltr; font-variant-numeric:tabular-nums; }
.dm-bubble.mine .dm-audio-duration{ color:rgba(255,255,255,.8); }
.hidden{ display: none !important; }
body.k-reels-mode #dm-forward-picker:not(.hidden){ display:block !important; visibility:visible !important; opacity:1 !important; z-index:120000 !important; position:fixed !important; inset:0 !important; }

.container > div.page-animated{ will-change: opacity, transform; transform-origin: top center; }
.container > div.page-animated.page-enter-forward{ animation: krPageInForward .34s cubic-bezier(.22,.8,.24,1) both; }
.container > div.page-animated.page-enter-back{ animation: krPageInBack .34s cubic-bezier(.22,.8,.24,1) both; }
@keyframes krPageInForward{ from { opacity:0; transform:translate3d(28px,8px,0) scale(.992); } to { opacity:1; transform:translate3d(0,0,0) scale(1); } }
@keyframes krPageInBack{ from { opacity:0; transform:translate3d(-28px,8px,0) scale(.992); } to { opacity:1; transform:translate3d(0,0,0) scale(1); } }
.feed-load-sentinel{ min-height:58px; display:flex; align-items:center; justify-content:center; color:var(--sub); font-size:11px; gap:8px; opacity:.9; }
.feed-load-spinner{ width:18px; height:18px; border:2px solid rgba(120,120,128,.20); border-top-color:var(--p); border-radius:50%; animation:krSpin .7s linear infinite; }
.feed-load-end{ padding:18px 8px 28px; text-align:center; color:var(--sub); font-size:10px; opacity:.65; }
@keyframes krSpin{ to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){.container > div.page-animated.page-enter-forward,.container > div.page-animated.page-enter-back{ animation:none !important; }
.feed-load-spinner{ animation:none; }}
@keyframes authSpin{to{transform:rotate(360deg)}}
#reg-verify-form{display:flex;flex-direction:column;gap:12px}
#reg-verify-form p{font-size:11.5px!important;line-height:1.9!important;color:var(--sub)!important;margin:0 2px 2px!important}
#reg-verify-form input{width:100%!important;height:48px!important;border:1px solid rgba(120,120,128,.22)!important;border-radius:14px!important;background:var(--bg)!important;color:var(--text)!important;padding:0 14px!important;font-family:inherit!important;font-size:17px!important;outline:none!important;text-align:center!important;letter-spacing:5px!important}
#reg-verify-form input:focus{background:var(--card)!important;border-color:var(--red)!important;box-shadow:0 0 0 3px rgba(255,59,48,.10)!important}
#reg-verify-form .btn-main{min-height:48px!important;padding:0 16px!important;border-radius:14px!important;background:var(--red)!important}
#reg-verify-form>p:last-child{color:var(--red)!important;text-align:center;font-weight:850;cursor:pointer!important;padding:6px;margin:0!important}
.setup-wizard-page{min-height:calc(100svh - 24px);padding:22px 12px 34px;display:flex!important;align-items:flex-start;justify-content:center;direction:rtl}
.setup-wizard-shell{width:min(100%,560px);background:var(--card);border:1px solid rgba(28,28,30,.07);border-radius:28px;box-shadow:0 16px 48px rgba(0,0,0,.07);padding:24px 22px 22px}
.setup-wizard-brand{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--sub);font-size:11px;font-weight:850;margin-bottom:20px}
.setup-wizard-logo{width:38px;height:38px;border-radius:12px;object-fit:cover;box-shadow:0 6px 16px rgba(255,59,48,.16)}
.setup-wizard-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.setup-step-kicker{color:var(--red);font-size:10.5px;font-weight:850;margin-bottom:4px}
.setup-wizard-top h1{margin:0;font-size:23px;font-weight:900;color:var(--text);line-height:1.4}
.setup-wizard-top p{margin:5px 0 0;color:var(--sub);font-size:12px;line-height:1.8}
.setup-step-count{width:42px;height:42px;border-radius:14px;background:rgba(255,59,48,.08);color:var(--red);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;flex:0 0 42px}
.setup-progress{height:6px;background:var(--bg);border-radius:99px;overflow:hidden;margin-bottom:22px}
.setup-progress>div{height:100%;width:25%;background:var(--red);border-radius:99px;transition:width .2s ease}
.setup-step-panel{min-height:390px;display:flex;flex-direction:column}
.setup-step-panel.hidden{display:none!important}
.setup-step-icon{width:36px;height:36px;border-radius:12px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;margin-bottom:17px;box-shadow:0 6px 16px rgba(255,59,48,.15)}
.setup-step-panel h2{margin:0 0 7px;font-size:19px;font-weight:900}
.setup-panel-copy{margin:0 0 18px;color:var(--sub);font-size:12px;line-height:2}
.setup-step-panel label{display:block;margin:0 2px 7px;color:var(--text);font-size:12px;font-weight:850}
.setup-step-panel label b{color:var(--red);font-size:10px}
.setup-step-panel>input,.setup-step-panel>textarea{width:100%;border:1px solid rgba(120,120,128,.22);border-radius:15px;background:var(--bg);color:var(--text);font-family:inherit;font-size:14px;outline:none;box-sizing:border-box;padding:0 14px}
.setup-step-panel>input{height:48px;margin-bottom:8px}
.setup-step-panel>textarea{padding:13px 14px;resize:vertical;min-height:105px}
.setup-step-panel>input:focus,.setup-step-panel>textarea:focus{background:var(--card);border-color:var(--red);box-shadow:0 0 0 3px rgba(255,59,48,.10)}
.setup-help{color:var(--sub);font-size:10.5px;line-height:1.8;margin:0 2px 15px}
.setup-error{color:var(--red);font-size:11px;font-weight:750;line-height:1.7;min-height:0;margin:0 2px 9px}
.setup-final-error{text-align:center;margin-top:9px}
.setup-avatar-box{text-align:center;margin:2px 0 16px}
.setup-avatar-placeholder,.setup-avatar-box img{width:88px;height:88px;border-radius:50%;object-fit:cover;margin:auto}
.setup-avatar-placeholder{background:var(--bg);color:var(--sub);display:flex;align-items:center;justify-content:center}
.setup-avatar-placeholder svg{width:36px;height:36px}
.setup-upload{display:block!important;border:1.5px dashed rgba(120,120,128,.32);padding:14px;border-radius:15px;text-align:center;color:var(--sub)!important;cursor:pointer;margin-bottom:13px!important}
.setup-upload span{font-size:10px}
.setup-interest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.setup-interest-grid button{border:1.5px solid #e6e6eb;background:var(--bg);color:var(--text);border-radius:15px;padding:12px 9px;min-height:47px;cursor:pointer;font-family:inherit;font-size:12px;font-weight:700;touch-action:manipulation}
.setup-interest-grid button.selected{border-color:var(--red);background:rgba(255,59,48,.08);color:var(--red);box-shadow:0 0 0 2px rgba(255,59,48,.05) inset}
.setup-interest-count{text-align:center;color:var(--sub);font-size:11px;margin:12px 0 2px}
.setup-permission-status{padding:14px;border-radius:15px;background:var(--bg);color:var(--sub);font-size:11.5px;line-height:1.9;margin:5px 0 10px}
.setup-permission-btn{height:47px;border:1px solid var(--red);border-radius:14px;background:transparent;color:var(--red);font-family:inherit;font-size:12px;font-weight:850;cursor:pointer}
.setup-actions{display:flex;gap:9px;margin-top:auto;padding-top:22px}
.setup-primary,.setup-secondary{height:48px;border-radius:14px;font-family:inherit;font-size:13px;font-weight:850;cursor:pointer;touch-action:manipulation}
.setup-primary{flex:1;border:0;background:var(--red);color:#fff;box-shadow:0 7px 18px rgba(255,59,48,.15)}
.setup-secondary{width:96px;border:1px solid rgba(120,120,128,.24);background:var(--bg);color:var(--text)}
.setup-primary:disabled{opacity:.65;cursor:not-allowed;box-shadow:none}
#first-setup-page:not(.hidden){position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;background:var(--bg)!important;}
body.k-registration-setup-mode > :not(#first-setup-page){display:none!important;visibility:hidden!important;}
body.k-registration-setup-mode #first-setup-page{display:flex!important;visibility:visible!important;}
#app-shell{width:100%;min-width:0;}
#app-content{min-width:0;}
body.k-registration-setup-mode{padding-top:0!important;padding-bottom:0!important;overflow-x:hidden;background:var(--bg)!important;}
body.k-registration-setup-mode .header,body.k-registration-setup-mode #nav,body.k-registration-setup-mode #kr-bottom-nav,body.k-registration-setup-mode #fab-btn,body.k-registration-setup-mode #auth-page,body.k-registration-setup-mode #post-modal{display:none!important;visibility:hidden!important;}
body.k-registration-setup-mode > .container{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;}
body.k-registration-setup-mode #first-setup-page{display:block!important;visibility:visible!important;margin:0!important;padding-top:max(18px,env(safe-area-inset-top))!important;}
body.k-registration-setup-mode #first-setup-page .setup-step-panel h2{display:none!important;}
body.k-registration-setup-mode #first-setup-page .setup-step-icon{display:none!important;}
body.k-registration-setup-mode #first-setup-page .setup-step-panel{min-height:calc(100svh - 190px);}
@media(max-width:480px){.setup-wizard-page{padding:10px 0 24px;min-height:calc(100svh - 10px)}
.setup-wizard-shell{border-radius:22px;padding:20px 16px 18px;box-shadow:0 10px 32px rgba(0,0,0,.06)}
.setup-wizard-brand{margin-bottom:16px}
.setup-wizard-top h1{font-size:20px}
.setup-step-panel{min-height:calc(100svh - 230px)}
.setup-interest-grid{gap:8px}
.setup-interest-grid button{min-height:45px;padding:10px 7px}}
@media(max-width:360px){.setup-wizard-shell{padding:17px 13px 15px}
.setup-wizard-top h1{font-size:19px}
.setup-step-panel{min-height:calc(100svh - 205px)}
.setup-interest-grid{grid-template-columns:1fr!important}}
.video-interest-chip{border:1.5px solid #e6e6eb;background:var(--bg);color:var(--text);border-radius:15px;padding:12px 11px;cursor:pointer;text-align:right;font-size:12px;font-weight:700;transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease}
.video-interest-chip:active{transform:scale(.98)}
.video-interest-chip.selected{border-color:var(--p);background:rgba(0,122,255,.10);color:var(--p);box-shadow:0 0 0 2px rgba(0,122,255,.06) inset}
@media(max-width:460px){#video-interest-grid{grid-template-columns:1fr!important}}
.input-wrap{ position: relative; }
svg{ width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cookie-banner{ position: fixed; bottom: 0; left: 0; right: 0; background: var(--card); border-top: 1px solid rgba(0,0,0,0.08); box-shadow: 0 -8px 28px rgba(0,0,0,0.1); padding: 16px 18px calc(16px + env(safe-area-inset-bottom)) 18px; z-index: 9000; display: flex; flex-direction: column; gap: 12px; }
.cookie-banner-text{ font-size: 12px; line-height: 1.8; color: var(--text); text-align: right; }
.cookie-banner-actions{ display: flex; gap: 10px; }
.cookie-btn{ flex: 1; padding: 12px; border-radius: 14px; border: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.cookie-btn-accept{ background: var(--p); color: #fff; }
.cookie-btn-reject{ background: var(--bg); color: var(--text); }
.privacy-mini{ font-size:11px; color:var(--sub); line-height:1.9; margin-top:8px; }
.consent-grid{ display:grid; grid-template-columns:1fr; gap:10px; margin-top:12px; }
.consent-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; background:var(--bg); border-radius:14px; }
.consent-row b{ font-size:12px; }
.consent-row span{ display:block; font-size:10.5px; color:var(--sub); margin-top:3px; line-height:1.6; }
.info-link{ color:var(--p); font-weight:700; cursor:pointer; text-decoration:none; }
.modal-overlay{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));background:rgba(15,18,24,.46);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.modal-card{background:var(--card);color:var(--text);border:1px solid rgba(28,28,30,.08);border-radius:24px;box-shadow:0 20px 60px rgba(0,0,0,.18);max-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;direction:rtl}
.modal-overlay.hidden{display:none!important}
.permission-list{display:flex;flex-direction:column;gap:10px}
.permission-item{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--border,#e7e7eb);border-radius:14px;background:var(--card,#fff)}
.permission-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;flex:0 0 38px;background:var(--bg,#f4f4f6);color:var(--p)}
.permission-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.permission-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.permission-copy b{font-size:13px;color:var(--text)}
.permission-copy span{font-size:10.5px;line-height:1.65;color:var(--sub)}
.permission-btn{border:1px solid var(--p);background:transparent;color:var(--p);border-radius:9px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.permission-btn:hover{background:var(--p);color:#fff}
.reel-action-modal{position:fixed;inset:0;z-index:200000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.58);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.reel-action-modal.hidden{display:none}
.reel-action-box{width:min(430px,100%);background:var(--card,#fff);color:var(--text,#111);border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.28);padding:20px;direction:rtl;animation:reelModalIn .18s ease-out}
@keyframes reelModalIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.reel-action-title{font-size:17px;font-weight:850;margin-bottom:7px}
.reel-action-text{font-size:12px;line-height:1.8;color:var(--sub,#777);margin:0 0 14px}
.reel-edit-input{width:100%;min-height:130px;resize:vertical;box-sizing:border-box;border:1px solid var(--border,#e5e5ea);background:var(--bg,#f5f5f7);color:var(--text,#111);border-radius:15px;padding:12px;font:inherit;font-size:13px;outline:none}
.reel-edit-input:focus{border-color:var(--p,#007aff);box-shadow:0 0 0 3px rgba(0,122,255,.1)}
.reel-action-buttons{display:flex;gap:9px;margin-top:15px}
.reel-action-buttons button{flex:1;border:0;border-radius:13px;padding:11px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.reel-modal-cancel{background:var(--bg,#f2f2f7);color:var(--text,#111)}
.reel-modal-primary{background:var(--p,#007aff);color:#fff}
.reel-modal-danger{background:#ff3b30;color:#fff}
.post-composer-section{margin:12px 0;text-align:right}
.post-composer-label{display:block;font-size:11px;font-weight:850;color:var(--sub);margin:0 3px 7px}
.post-composer-input{width:100%;box-sizing:border-box;border:1px solid var(--border,#e7e7eb);background:var(--bg,#f7f7f9);color:var(--text,#111);border-radius:16px;padding:12px 14px;font:inherit;font-size:13px;outline:none;direction:rtl}
.post-composer-input:focus{border-color:var(--p);box-shadow:0 0 0 3px rgba(0,122,255,.08)}
.post-composer-input[dir=ltr]{text-align:left}
.post-media-preview{display:none;margin:10px 0 14px;border-radius:20px;overflow:hidden;background:#050505;position:relative;min-height:120px;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.post-media-preview.active{display:flex;align-items:center;justify-content:center}
.post-media-preview img,.post-media-preview video{display:block;width:100%;max-height:360px;object-fit:contain;background:#050505}
.post-media-preview audio{width:calc(100% - 24px);margin:12px}
.post-media-preview-close{position:absolute;top:9px;left:9px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(0,0,0,.65);color:#fff;font-size:20px;cursor:pointer;z-index:2}
.post-media-preview-meta{position:absolute;right:10px;bottom:10px;left:10px;background:rgba(0,0,0,.58);backdrop-filter:blur(10px);color:#fff;border-radius:12px;padding:7px 10px;font-size:10px;line-height:1.5;text-align:right;pointer-events:none}
.post-link-box{display:flex;gap:8px;align-items:center}
.post-link-box .post-composer-input{flex:1}
.post-content-hint{font-size:10px;color:var(--sub);margin-top:5px;line-height:1.6}
.post-display-link{display:flex;align-items:center;gap:10px;margin-top:10px;padding:11px 13px;border:1px solid rgba(0,122,255,.18);background:rgba(0,122,255,.07);border-radius:15px;color:var(--p);text-decoration:none;font-size:12px;font-weight:750;direction:ltr;text-align:left;overflow:hidden}
.post-display-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-link-preview-card{margin-top:10px;border:1px solid var(--border,#e5e5ea);background:var(--card,#fff);border-radius:18px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.07);direction:rtl;text-align:right}
.post-link-preview-site{display:flex;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.06);font-size:11px}
.post-link-preview-site>div{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.post-link-preview-site b{font-size:12px;color:var(--text)}
.post-link-preview-site span:not(.post-link-preview-icon):not(.post-link-safe){color:var(--sub);font-size:9.5px;direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-link-preview-icon{width:32px;height:32px;border-radius:10px;background:var(--bg);display:flex;align-items:center;justify-content:center;color:var(--p);font-size:16px;font-weight:900;flex-shrink:0}
.post-link-safe{font-size:9px!important;color:#1a8f4a!important;background:rgba(52,199,89,.11);border-radius:8px;padding:4px 7px;flex-shrink:0}
.post-link-preview-image-wrap{width:100%;aspect-ratio:1.91/1;background:var(--bg);overflow:hidden}
.post-link-preview-image-wrap img{display:block;width:100%;height:100%;object-fit:cover}
.post-link-preview-body{padding:11px 13px}
.post-link-preview-title{font-size:13px;font-weight:850;color:var(--text);line-height:1.6}
.post-link-preview-description{font-size:10.5px;color:var(--sub);line-height:1.7;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-link-preview-url{font-size:9.5px;color:var(--p);direction:ltr;text-align:left;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-hashtags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;direction:rtl}
.post-hashtags .tag{cursor:pointer}
.post-description{font-size:15px;line-height:1.75;margin-top:10px;text-align:right;white-space:pre-wrap}
svg{max-width:100%;}
.nav-btn svg,.btn-act svg,.reels-action svg,.fab svg,.dot-menu svg{display:inline-block;width:22px;height:22px;vertical-align:middle;flex:0 0 auto;}
.reels-action{display:flex;flex-direction:column;align-items:center;justify-content:center;}
.reels-action svg{width:30px;height:30px;fill:none;stroke:currentColor;}
#up-settings-btn.kr-settings-trigger{width:42px;height:42px;border:1px solid rgba(127,127,127,.18)!important;border-radius:14px!important;background:var(--card)!important;color:var(--text)!important;display:inline-flex!important;align-items:center;justify-content:center;box-shadow:0 5px 18px rgba(0,0,0,.08);transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
#up-settings-btn.kr-settings-trigger svg{width:21px!important;height:21px!important;transition:transform .25s ease;}
#up-settings-btn.kr-settings-trigger:active{transform:scale(.92);}
#up-settings-btn.kr-settings-trigger:hover{box-shadow:0 8px 24px rgba(0,0,0,.12);}
#up-settings-btn.kr-settings-trigger.open svg{transform:rotate(35deg);}
.profile-settings-dropdown.kr-settings-menu{min-width:205px!important;padding:7px!important;border-radius:18px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 18px 45px rgba(0,0,0,.16)!important;border:1px solid rgba(0,0,0,.08)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
[data-theme="dark"] .profile-settings-dropdown.kr-settings-menu{background:rgba(28,28,32,.96)!important;border-color:rgba(255,255,255,.1)!important;}
.profile-settings-dropdown.kr-settings-menu div{display:flex;align-items:center;gap:10px;padding:12px 13px!important;border-radius:12px!important;font-size:13px!important;font-weight:750!important;transition:background .15s ease,transform .15s ease;}
.profile-settings-dropdown.kr-settings-menu div:hover{background:rgba(127,127,127,.10);}
.profile-settings-dropdown.kr-settings-menu div:active{transform:scale(.98);}
.kr-settings-menu-icon{width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;opacity:.9;}
.kr-settings-menu-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.kr-messages-page{direction:rtl;max-width:940px;margin:0 auto;padding:14px 20px calc(30px + env(safe-area-inset-bottom));box-sizing:border-box;min-width:0}
.kr-messages-shell{background:var(--kr-card,#fff);border:1px solid var(--kr-line,#e8edf5);border-radius:26px;box-shadow:0 10px 30px rgba(35,54,85,.06);overflow:hidden;min-width:0}
.kr-messages-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--kr-line,#e8edf5)}
.kr-messages-kicker{font-size:10px;font-weight:900;letter-spacing:2px;color:var(--kr-red,#ff2338);margin-bottom:2px}
.kr-messages-head h2{margin:0;color:var(--kr-ink,#111827);font-size:21px;font-weight:900;line-height:1.35}
.kr-messages-head p{margin:4px 0 0;color:var(--kr-muted,#6f819c);font-size:11.5px;line-height:1.7}
.kr-messages-bell{width:46px;height:46px;flex:0 0 46px;border:1px solid rgba(255,35,56,.14);border-radius:15px;background:#fff4f5;color:var(--kr-red,#ff2338);position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation}
.kr-messages-bell svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-messages-bell span{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;border-radius:10px;background:var(--kr-red,#ff2338);color:#fff;font-size:9px;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid var(--kr-card,#fff)}
.kr-message-tabs{display:flex;gap:8px;padding:9px 12px;border-bottom:1px solid #eef2f6;background:#fbfcfe}
.kr-message-tab{position:relative;flex:1;min-width:0;min-height:50px;border:1px solid transparent;border-radius:14px;background:transparent;color:#647793;font-family:inherit;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;touch-action:manipulation}
.kr-message-tab.active{background:#fff;color:var(--kr-red,#ff2338);border-color:rgba(255,35,56,.10);box-shadow:0 4px 12px rgba(35,54,85,.05)}
.kr-message-tab-icon{width:26px;height:26px;display:flex;align-items:center;justify-content:center;flex:0 0 26px}
.kr-message-tab-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-message-tab-badge{min-width:18px;height:18px;border-radius:9px;background:var(--kr-red,#ff2338);color:#fff;font-size:9px;display:flex;align-items:center;justify-content:center;padding:0 5px}
.kr-message-tab-badge:empty,.kr-message-tab-badge[data-zero="1"]{display:none}
.kr-message-panel{padding:14px 16px 18px;min-height:0}
.kr-message-panel.hidden{display:none!important}
.kr-private-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.kr-saved-messages-card{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:0;min-height:66px;border:1px solid var(--kr-line,#e8edf5);border-radius:18px;background:var(--kr-card,#fff);box-shadow:0 5px 16px rgba(35,54,85,.05);cursor:pointer}
.kr-saved-messages-icon{width:42px;height:42px;border-radius:50%;background:var(--kr-red,#ff2338);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 42px}
.kr-saved-messages-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-conversation-search{position:relative;margin-bottom:12px}
.kr-conversation-search input{width:100%;height:48px;box-sizing:border-box;margin:0;padding:0 43px 0 14px;border:1px solid var(--kr-line,#e8edf5);border-radius:17px;background:var(--kr-soft,#f7f8fb);color:var(--kr-ink,#111827);font:inherit;font-size:13px;outline:none;direction:rtl;transition:border-color .18s ease,box-shadow .18s ease}
.kr-conversation-search input:focus{border-color:rgba(255,35,56,.35);box-shadow:0 0 0 3px rgba(255,35,56,.08)}
.kr-conversation-search .input-icon{right:14px!important}
.kr-conversation-list{display:flex;flex-direction:column;gap:9px}
.kr-conversation-card{display:flex;align-items:center;gap:12px;padding:12px 13px;min-height:72px;border:1px solid var(--kr-line,#e8edf5);border-radius:19px;background:var(--kr-card,#fff);box-shadow:0 5px 16px rgba(35,54,85,.045);cursor:pointer;direction:rtl;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.kr-conversation-card:active{transform:scale(.992)}
.kr-conversation-avatar{position:relative;flex:0 0 48px;width:48px;height:48px}
.kr-conversation-avatar img,.kr-conversation-avatar .kr-avatar-fallback{width:48px;height:48px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:var(--kr-soft,#f2f4f8);color:var(--kr-muted,#6f819c)}
.kr-conversation-online{position:absolute;bottom:-1px;left:-1px;width:10px;height:10px;border-radius:50%;background:#34c759;border:2px solid var(--kr-card,#fff)}
.kr-conversation-body{flex:1;min-width:0;text-align:right}
.kr-conversation-top,.kr-conversation-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.kr-conversation-name{font-size:14px;font-weight:850;color:var(--kr-ink,#111827);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-conversation-time{font-size:10px;color:var(--kr-muted,#6f819c);flex:0 0 auto;white-space:nowrap}
.kr-conversation-preview{margin-top:4px;font-size:12px;line-height:1.6;color:var(--kr-muted,#6f819c);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-conversation-unread{min-width:18px;height:18px;border-radius:9px;background:var(--kr-red,#ff2338);color:#fff;font-size:9px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 4px;flex:0 0 auto}
.kr-message-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 16px 38px;color:var(--kr-muted,#6f819c)}
.kr-message-empty-icon{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff4f5;color:var(--kr-red,#ff2338);margin-bottom:11px}
.kr-message-empty-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-message-empty strong{color:var(--kr-ink,#111827);font-size:14px;margin-bottom:4px}
.kr-message-empty span{font-size:11px;line-height:1.8;max-width:280px}
@media(max-width:760px){.kr-messages-page{padding:8px 12px calc(20px + env(safe-area-inset-bottom));}
.kr-messages-shell{border-radius:22px}
.kr-messages-head{padding:15px 14px;gap:11px}
.kr-messages-head h2{font-size:19px}
.kr-messages-head p{font-size:10.5px}
.kr-messages-bell{width:43px;height:43px;flex-basis:43px;border-radius:14px}
.kr-message-tabs{padding:8px 8px;gap:6px}
.kr-message-tab{min-height:47px;font-size:10.5px;gap:4px}
.kr-message-tab-icon{width:24px;height:24px;flex-basis:24px}
.kr-message-tab-icon svg{width:19px;height:19px}
.kr-message-panel{padding:11px 10px 15px}
.kr-saved-messages-card{min-height:62px;border-radius:17px;padding:10px 12px}
.kr-conversation-search input{height:46px}
.kr-conversation-card{min-height:68px;padding:11px 12px;border-radius:17px}
.kr-conversation-preview{font-size:11.5px}
.kr-conversation-name{font-size:13.5px}
.kr-conversation-avatar,.kr-conversation-avatar img,.kr-conversation-avatar .kr-avatar-fallback{width:46px;height:46px;flex-basis:46px}
.kr-message-empty{padding:30px 12px 34px}}
@media(max-width:374px){.kr-messages-head{padding:14px 12px}
.kr-messages-head h2{font-size:18px}
.kr-messages-head p{font-size:10px}
.kr-message-tab{font-size:10px}
.kr-message-panel{padding-inline:8px}
.kr-conversation-card{gap:9px}
.kr-conversation-time{font-size:9px}}
.kr-notifications-page{direction:rtl;max-width:940px;margin:0 auto;padding:8px 20px 30px;box-sizing:border-box}
.kr-notifications-shell{background:var(--kr-card,#fff);border:1px solid var(--kr-line,#e8edf5);border-radius:26px;box-shadow:0 10px 30px rgba(35,54,85,.06);overflow:hidden}
.kr-notifications-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--kr-line,#e8edf5)}
.kr-notifications-kicker{font-size:10px;font-weight:900;letter-spacing:2px;color:var(--kr-red,#ff2338);margin-bottom:3px}
.kr-notifications-head h2{margin:0;color:var(--kr-ink,#111827);font-size:22px;font-weight:900}
.kr-notifications-head p{margin:5px 0 0;color:var(--kr-muted,#6f819c);font-size:12px}
.kr-notifications-read{min-height:42px;padding:0 15px;border:1px solid rgba(255,35,56,.18);border-radius:14px;background:#fff4f5;color:var(--kr-red,#ff2338);font-family:inherit;font-size:12px;font-weight:850;cursor:pointer;white-space:nowrap}
.kr-notifications-list{display:flex;flex-direction:column}
.kr-notification-item{display:flex;align-items:center;gap:13px;padding:15px 20px;border-bottom:1px solid #f0f3f7;transition:background .16s ease}
.kr-notification-item:last-child{border-bottom:0}
.kr-notification-item.unread{background:linear-gradient(90deg,#fff8f9,#fff)}
.kr-notification-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;object-fit:cover;background:#edf1f7;border:2px solid #fff;box-shadow:0 4px 14px rgba(35,54,85,.10)}
.kr-notification-icon{width:38px;height:38px;flex:0 0 38px;border-radius:13px;background:#fff1f3;color:var(--kr-red,#ff2338);display:flex;align-items:center;justify-content:center}
.kr-notification-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-notification-copy{min-width:0;flex:1;text-align:right}
.kr-notification-copy strong{color:var(--kr-ink,#111827);font-size:13px;font-weight:850}
.kr-notification-copy span{color:#596d89;font-size:12px;line-height:1.7}
.kr-notification-time{color:#91a0b4;font-size:10px;white-space:nowrap}
.kr-notifications-empty{text-align:center;padding:58px 20px;color:var(--kr-muted,#6f819c)}
.kr-notifications-empty svg{width:46px;height:46px;margin-bottom:9px;opacity:.55}
.kr-notifications-empty strong{display:block;color:var(--kr-ink,#111827);font-size:14px;margin-bottom:4px}
.kr-notifications-empty span{font-size:11px}
@media(max-width:760px){.kr-notifications-page{padding:0 13px 20px}
.kr-notifications-shell{border-radius:22px}
.kr-notifications-head{padding:18px 16px}
.kr-notifications-head h2{font-size:19px}
.kr-notifications-head p{font-size:10.5px}
.kr-notifications-read{min-height:38px;padding:0 12px;font-size:10.5px}
.kr-notification-item{padding:13px 12px;gap:10px}
.kr-notification-avatar{width:42px;height:42px;flex-basis:42px}
.kr-notification-icon{width:34px;height:34px;flex-basis:34px;border-radius:11px}
.kr-notification-copy strong{font-size:12px}
.kr-notification-copy span{font-size:10.5px}
.kr-notification-time{font-size:9px}}
#saved-reels-page{padding-bottom:30px;}
.saved-reels-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}
.saved-reels-head h3{margin:0;color:var(--p);font-size:17px;}
.saved-reels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border-radius:16px;overflow:hidden;width:100%;}
.saved-reel-tile{position:relative;display:block;width:100%;aspect-ratio:9/13;min-width:0;overflow:hidden;background:#111;cursor:pointer;isolation:isolate;}
.saved-reel-tile img,.saved-reel-tile video{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;object-fit:cover;background:#111;border:0;}
.saved-reel-tile img{z-index:1;}
.saved-reel-tile video{z-index:1;}
.saved-reel-tile::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(to top,rgba(0,0,0,.62),transparent 42%);pointer-events:none;}
.saved-reel-play{position:absolute;left:8px;top:8px;z-index:4;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;display:flex;align-items:center;justify-content:center;pointer-events:none;}
.saved-reel-play svg{width:13px;height:13px;fill:currentColor;}
.saved-reel-error{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;color:#fff;background:#111;font-size:11px;text-align:center;padding:12px;}
.saved-reel-name{position:absolute;right:8px;left:8px;bottom:7px;z-index:4;color:#fff;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 5px #000;direction:rtl;text-align:right;}
.saved-reels-empty{text-align:center;color:var(--sub);padding:55px 20px;font-size:13px;line-height:1.9;}
@media(max-width:520px){.saved-reels-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.saved-reel-tile{aspect-ratio:9/14;}}
:root{--kr-red:#ff2338;--kr-ink:#111827;--kr-muted:#6f819c;--kr-line:#e8edf5;--kr-card:#fff}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;background:#f4f6fa;color:var(--kr-ink);padding-top:78px;padding-bottom:94px}
.header{height:78px;background:linear-gradient(135deg,#ff2d2d,#ff1744);border:0;color:#fff;box-shadow:0 8px 28px rgba(255,35,56,.18);backdrop-filter:none}
.kr-feed-header-inner{width:min(1180px,100%);height:100%;margin:auto;padding:0 22px;display:grid;grid-template-columns:190px minmax(260px,570px) 48px;gap:28px;align-items:center;direction:ltr}
.kr-brand{border:0;background:none;color:#fff;display:flex;align-items:center;justify-content:flex-start;gap:4px;cursor:pointer;font-weight:900;padding:0}
.kr-brand-k{font-family:Arial,sans-serif;font-size:54px;line-height:.8;font-weight:1000;letter-spacing:-9px;transform:skew(-8deg);display:inline-block}
.kr-brand-text{font-size:28px;letter-spacing:-1.6px;margin-left:7px}
.kr-global-search{height:48px;border-radius:28px;background:rgba(255,255,255,.20);display:flex;align-items:center;gap:10px;padding:0 17px;color:#fff;direction:ltr}
.kr-global-search svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.kr-global-search input{border:0;outline:0;background:transparent;color:#fff;width:100%;font-size:16px;font-family:inherit;text-align:right;direction:rtl}
.kr-global-search input::placeholder{color:rgba(255,255,255,.8)}
.kr-notification-btn{width:48px;height:48px;border:0;background:transparent;color:#fff;position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center}
.kr-notification-btn svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-notification-btn span{position:absolute;top:0;right:-1px;min-width:20px;height:20px;border-radius:10px;background:#fff;color:var(--kr-red);font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid var(--kr-red)}
.container{width:min(940px,100%);max-width:none;margin:0 auto;padding:0 20px}
.kr-feed-category-wrap{margin:0 -20px 24px;background:#fff;border-bottom:1px solid #eef1f6;box-shadow:0 5px 18px rgba(20,35,65,.04)}
.kr-feed-category-nav{width:min(980px,100%);margin:auto;display:grid;grid-template-columns:repeat(6,1fr);gap:12px;padding:17px 20px 14px;direction:rtl}
.kr-cat-item{border:0;background:transparent;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;color:#5e718e;font-family:inherit;font-size:13px;font-weight:750;cursor:pointer;position:relative;padding:0 4px 12px}
.kr-cat-icon{width:64px;height:64px;border-radius:50%;background:#fbfcff;box-shadow:0 8px 25px rgba(42,60,95,.10);display:flex;align-items:center;justify-content:center;color:var(--kr-red);transition:.18s}
.kr-cat-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-cat-item.active{color:#111827}
.kr-cat-item.active:after{content:"";position:absolute;bottom:0;left:20%;right:20%;height:4px;border-radius:4px;background:var(--kr-red)}
.kr-cat-item.active .kr-cat-icon{background:var(--kr-red);color:#fff;transform:translateY(-2px);box-shadow:0 10px 25px rgba(255,35,56,.22)}
.kr-cat-item:active .kr-cat-icon{transform:scale(.94)}
.kr-hidden-filter-bar{display:none!important}
.kr-feed-stream{max-width:900px;margin:auto}
.kr-feed-card{background:var(--kr-card);border:1px solid #e9edf4;border-radius:27px;margin:0 auto 22px;padding:21px 27px 13px;box-shadow:0 10px 28px rgba(35,54,85,.055);position:relative;overflow:hidden}
.kr-post-head{display:flex;align-items:center;gap:12px;direction:rtl;min-width:0}
.kr-avatar-ring{width:62px;height:62px;flex:0 0 62px;border-radius:50%;padding:3px;background:conic-gradient(var(--kr-red),#ffb000,#ff7b00,var(--kr-red));cursor:pointer}
.kr-avatar-ring>img,.kr-avatar-ring>span{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;object-fit:cover;background:#edf1f7;border:2px solid #fff;color:#7486a2}
.kr-post-user{min-width:0;flex:1;text-align:right}
.kr-post-name{display:flex;align-items:center;gap:6px;font-size:17px;font-weight:850;line-height:1.5}
.kr-verified{width:21px;height:21px;display:inline-flex;color:var(--kr-red)}
.kr-verified svg{width:100%;height:100%;fill:currentColor;stroke:#fff;stroke-width:1.5}
.kr-post-meta{display:flex;align-items:center;gap:9px;color:var(--kr-muted);font-size:12.5px;margin-top:3px}
.kr-post-meta svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-post-menu{width:40px;height:40px;border:0;background:transparent;color:#71839d;font-size:28px;line-height:1;cursor:pointer;border-radius:50%}
.kr-post-menu:hover{background:#f2f5f9}
.kr-post-menu-box{position:absolute;top:65px;left:22px;width:190px;background:#fff;border:1px solid #e9edf4;border-radius:16px;box-shadow:0 18px 45px rgba(0,0,0,.14);z-index:50;overflow:hidden}
.kr-post-menu-box button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:#fff;text-align:right;padding:12px 15px;font-family:inherit;font-size:13px;cursor:pointer}
.kr-post-menu-box button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-post-menu-box button:hover{background:#f7f8fb}
.kr-post-body{direction:rtl;text-align:right;margin-top:13px}
.kr-post-description{font-size:18px;line-height:1.9;white-space:pre-wrap;word-break:break-word;color:#111827}
.kr-post-description.collapsed{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.kr-more-btn{border:0;background:none;color:var(--kr-red);font-family:inherit;font-size:13px;font-weight:800;padding:2px 0;cursor:pointer}
.kr-post-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:11px;direction:rtl}
.kr-post-tag{background:#fff3f5;border-radius:22px;padding:8px 15px;color:#ad2c40;font-size:12px;font-weight:800;cursor:pointer}
.kr-media{margin-top:16px;border-radius:20px;overflow:hidden;background:#0a0a0c;position:relative;isolation:isolate}
.kr-media img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#0b0b0d}
.kr-media video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#080808}
.kr-media audio{width:100%;display:block}
.kr-video-overlay{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:center}
.kr-play{width:66px;height:66px;border-radius:50%;background:rgba(0,0,0,.38);border:2px solid rgba(255,255,255,.9);color:#fff;display:flex;align-items:center;justify-content:center}
.kr-play svg{width:28px;height:28px;fill:currentColor}
.kr-link-preview{margin-top:16px;border:1px solid #e2e7ef;border-radius:19px;overflow:hidden;background:#fbfcfe;display:grid;grid-template-columns:1fr 170px;min-height:126px;direction:ltr;text-decoration:none;color:inherit;cursor:pointer}
.kr-link-preview-main{padding:15px;direction:rtl;text-align:right;min-width:0}
.kr-link-site{display:flex;align-items:center;gap:7px;color:#647795;font-size:11px;font-weight:800}
.kr-site-logo{width:26px;height:26px;border-radius:8px;background:#eef2f7;color:var(--kr-red);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
.kr-link-title{font-size:15px;font-weight:850;line-height:1.55;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kr-link-desc{font-size:11px;line-height:1.7;color:#71839d;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kr-link-url{font-size:10px;color:#7789a3;direction:ltr;text-align:left;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kr-link-image{background:#edf1f6;min-height:126px}
.kr-link-image img{width:100%;height:100%;object-fit:cover;display:block}
.kr-link-open{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#fff;border:1px solid #e0e6ef;color:#526781;margin-top:10px;float:left}
.kr-link-open svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-audio-card{padding:14px 16px;background:#f7f8fb;border:1px solid #e4e9f0;border-radius:17px;margin-top:16px}
.kr-file-card{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #e4e9f0;border-radius:17px;margin-top:16px;background:#f8f9fb;direction:rtl}
.kr-file-icon{width:42px;height:42px;border-radius:13px;background:#fff;color:var(--kr-red);display:flex;align-items:center;justify-content:center}
.kr-file-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-file-name{font-size:13px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-post-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;border-top:1px solid #edf0f5;margin-top:17px;padding-top:10px;direction:rtl}
.kr-action{min-height:50px;border:0;background:transparent;color:#70839e;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:7px;font-family:inherit;font-size:12px;font-weight:750;cursor:pointer}
.kr-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.kr-action:hover{background:#f7f8fb}
.kr-action.liked{color:var(--kr-red)}
.kr-action.saved{color:#e59b00}
.kr-action:active{transform:scale(.96)}
.kr-action-pop{animation:krPop .25s ease}
@keyframes krPop{50%{transform:scale(1.18)}100%{transform:scale(1)}}
.kr-bottom-nav{display:none}
@media(max-width:760px){body{padding-top:70px;padding-bottom:88px}
.header{height:70px}
.kr-feed-header-inner{grid-template-columns:44px 1fr 135px;gap:8px;padding:0 13px}
.kr-brand{order:3;justify-content:flex-end}
.kr-brand-k{font-size:43px}
.kr-brand-text{font-size:23px;margin-left:4px}
.kr-global-search{order:2;height:45px}
.kr-global-search input{font-size:14px}
.kr-notification-btn{order:1}
.kr-feed-category-wrap{margin:0 -13px 16px}
.kr-feed-category-nav{overflow-x:auto;display:flex;gap:7px;padding:12px 10px 10px}
.kr-cat-item{flex:0 0 76px;font-size:11px}
.kr-cat-icon{width:54px;height:54px}
.kr-cat-icon svg{width:25px;height:25px}
.container{padding:0 13px}
.kr-feed-card{border-radius:23px;padding:17px 15px 9px;margin-bottom:15px}
.kr-avatar-ring{width:52px;height:52px;flex-basis:52px}
.kr-post-name{font-size:15px}
.kr-post-meta{font-size:11px}
.kr-post-description{font-size:16px;line-height:1.85}
.kr-post-tags{gap:7px}
.kr-post-tag{padding:7px 12px}
.kr-media{border-radius:17px}
.kr-media img,.kr-media video{aspect-ratio:4/3}
.kr-link-preview{grid-template-columns:1fr 112px;min-height:104px}
.kr-link-image{min-height:104px}
.kr-link-title{font-size:13px}
.kr-link-desc{font-size:10px}
.kr-post-actions{grid-template-columns:repeat(5,1fr)}
.kr-action{font-size:10px;gap:4px}
.kr-action svg{width:20px;height:20px}
.kr-bottom-nav{position:fixed;z-index:1800;left:0;right:0;bottom:0;height:78px;padding:7px 9px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);border-top:1px solid #e9edf3;box-shadow:0 -10px 30px rgba(20,40,70,.08);backdrop-filter:blur(18px);display:grid;grid-template-columns:1fr 1fr 1.15fr 1fr 1fr;align-items:end;direction:rtl}
.kr-bottom-nav button{border:0;background:transparent;color:#536983;font-family:inherit;font-size:10px;font-weight:750;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;cursor:pointer}
.kr-nav-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;position:relative}
.kr-nav-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.kr-nav-badge-wrap b{position:absolute;top:-2px;right:-3px;min-width:17px;height:17px;border-radius:9px;background:var(--kr-red);color:#fff;font-size:9px;display:flex;align-items:center;justify-content:center}
.kr-create-nav{transform:translateY(-11px)}
.kr-create-plus{width:62px;height:62px;border-radius:21px;background:linear-gradient(135deg,#ff2638,#ff173d);color:#fff;display:flex;align-items:center;justify-content:center;font-size:43px;font-weight:300;line-height:1;box-shadow:0 13px 28px rgba(255,35,56,.30);border:5px solid #fff}
.fab{display:none!important}}
@media(min-width:761px){.kr-bottom-nav{display:none!important}}
body.k-reels-mode{padding:0!important}
.k-reels-mode .kr-bottom-nav{display:none!important}
[data-theme="dark"] body{background:#0d1016}
[data-theme="dark"] .kr-feed-card{background:#181b22;border-color:#2a303b}
[data-theme="dark"] .kr-link-preview{background:#151922;border-color:#2a303b}
[data-theme="dark"] .kr-post-description{color:#f2f4f8}
[data-theme="dark"] .kr-post-menu-box,[data-theme="dark"] .kr-post-menu-box button{background:#181b22;color:#f2f4f8}
.krilz-feed,#feed-page{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;direction:rtl;min-width:0;}
#feed-page button,#feed-page input,#feed-page select,#feed-page textarea,#feed-page a{font:inherit;box-sizing:border-box;}
#feed-page button{appearance:none;-webkit-appearance:none;border:0;outline:0;background:none;color:inherit;}
#feed-page input,#feed-page textarea,#feed-page select{appearance:none;-webkit-appearance:none;}
#feed-page img,#feed-page video,#feed-page audio{max-width:100%;}
#feed-page .kr-feed-category-nav,#feed-page .kr-feed-card,#feed-page .kr-feed-stream{min-width:0;}
@media(max-width:760px){#feed-page{padding-inline:0;}
#feed-page .kr-feed-card{width:100%;}
#feed-page .kr-media img,#feed-page .kr-media video{width:100%;height:auto;display:block;}}
html{min-width:0;overflow-x:hidden}
body{width:100%;max-width:100%;overflow-x:hidden}
.header{padding-top:env(safe-area-inset-top);height:calc(78px + env(safe-area-inset-top));}
.kr-feed-header-inner{min-height:78px;height:78px;}
.kr-messages-page{width:100%;max-width:720px;margin:0 auto;padding:12px 18px calc(var(--bottom-nav-height,78px) + env(safe-area-inset-bottom) + 16px);box-sizing:border-box;min-width:0;}
.kr-messages-shell{width:100%;max-width:100%;margin:0;min-width:0;border-radius:24px;}
.kr-messages-head{padding:17px 20px;gap:14px;}
.kr-messages-kicker{margin-bottom:1px;}
.kr-messages-head h2{line-height:1.3;}
.kr-messages-head p{margin-top:3px;line-height:1.6;}
.kr-message-tabs{gap:6px;padding:7px 10px;background:transparent;}
.kr-message-tab{min-height:48px;border-radius:13px;}
.kr-message-tab.active{box-shadow:none;background:#fff5f6;border-color:rgba(255,35,56,.10);}
.kr-message-panel{padding:12px 14px 15px;}
.kr-saved-messages-card{min-height:62px;padding:10px 13px;border-radius:17px;box-shadow:0 4px 14px rgba(35,54,85,.045);}
.kr-conversation-search{margin:11px 0 11px;}
.kr-conversation-search input{height:47px;padding-inline-start:14px;padding-inline-end:43px;}
.kr-conversation-list{gap:8px;}
.kr-conversation-card{min-height:68px;padding:10px 12px;border-radius:17px;box-shadow:0 4px 14px rgba(35,54,85,.04);}
.kr-message-empty{padding:28px 12px 30px;}
.kr-messages-page .kr-notifications-list{min-width:0;}
@media(max-width:760px){body{padding-top:calc(70px + env(safe-area-inset-top));padding-bottom:calc(var(--bottom-nav-height,78px) + env(safe-area-inset-bottom) + 8px);}
.header{height:calc(70px + env(safe-area-inset-top));}
.kr-feed-header-inner{height:70px;min-height:70px;}
.kr-messages-page{max-width:none;padding:10px 12px calc(var(--bottom-nav-height,78px) + env(safe-area-inset-bottom) + 16px);}
.kr-messages-shell{border-radius:21px;}
.kr-messages-head{padding:14px 13px;gap:10px;}
.kr-messages-head h2{font-size:19px;}
.kr-messages-head p{font-size:10.5px;margin-top:2px;}
.kr-messages-bell{width:43px;height:43px;flex-basis:43px;border-radius:13px;}
.kr-message-tabs{padding:7px 7px;gap:5px;}
.kr-message-tab{min-height:46px;font-size:10.5px;gap:4px;padding:0 6px;}
.kr-message-panel{padding:10px 9px 14px;}
.kr-saved-messages-card{min-height:60px;padding:9px 11px;}
.kr-conversation-search{margin:10px 0;}
.kr-conversation-search input{height:45px;}
.kr-conversation-card{min-height:66px;padding:10px 11px;}}
@media(max-width:374px){.kr-messages-page{padding-inline:9px;}
.kr-messages-head{padding-inline:11px;}
.kr-message-tabs{padding-inline:5px;}
.kr-message-tab{font-size:10px;}
.kr-message-panel{padding-inline:7px;}
.kr-conversation-card{gap:8px;}}
@media(min-width:761px){.kr-messages-page{padding-bottom:30px;}}
:root{--dm-viewport-height:100dvh;--dm-header-height:68px}
body.k-chat-mode{overflow:hidden!important;height:100%;width:100%;max-width:100%;padding-top:0!important;padding-bottom:0!important;overscroll-behavior:none}
body.k-chat-mode #nav,body.k-chat-mode #kr-bottom-nav,body.k-chat-mode #fab-btn,body.k-chat-mode>.container,body.k-chat-mode .header,body.k-chat-mode .kr-bottom-nav{display:none!important}
body.k-chat-mode #dm-thread-overlay{display:flex!important;position:fixed!important;inset:0!important;width:100vw!important;height:var(--dm-viewport-height)!important;min-height:0!important;max-height:none!important;z-index:5500!important;margin:0!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;background:var(--bg,#f5f7fb)!important;direction:rtl!important}
#dm-thread-overlay.k-chat-overlay{font-family:inherit;direction:rtl;isolation:isolate}
#dm-thread-overlay .dm-chat-header{height:var(--dm-header-height);min-height:var(--dm-header-height);box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:var(--card,#fff);border-bottom:1px solid rgba(0,0,0,.06);box-shadow:0 2px 12px rgba(20,40,70,.05);flex-shrink:0;direction:rtl}
#dm-thread-overlay .dm-chat-back{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:14px;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation}
#dm-thread-overlay .dm-chat-back svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#dm-thread-overlay .dm-chat-identity{min-width:0;flex:1;display:flex;align-items:center;gap:10px;text-align:right}
#dm-thread-overlay .dm-chat-avatar{position:relative;width:42px;height:42px;flex:0 0 42px}
#dm-thread-overlay .dm-chat-avatar img,#dm-thread-overlay .dm-chat-avatar .dm-chat-avatar-placeholder{width:42px;height:42px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:var(--bg);color:var(--sub)}
#dm-thread-overlay .dm-chat-status-dot{position:absolute;bottom:-1px;left:-1px;width:10px;height:10px;border-radius:50%;background:#34c759;border:2px solid var(--card)}
#dm-thread-overlay .dm-chat-name-wrap{min-width:0;flex:1}
#dm-thread-overlay .dm-chat-name{font-weight:850;font-size:15px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
#dm-thread-overlay .dm-chat-status{font-size:10.5px;color:var(--sub);margin-top:2px;min-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dm-thread-overlay .dm-chat-menu-btn{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:13px;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation}
#dm-thread-overlay .dm-chat-menu-btn svg{width:20px;height:20px;fill:currentColor}
#dm-thread-overlay #dm-thread-messages{flex:1 1 auto!important;min-height:0!important;width:100%!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;padding:14px 12px 18px!important;display:flex!important;flex-direction:column!important;gap:8px!important;background:var(--bg,#f5f7fb);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
#dm-thread-overlay #dm-thread-messages .dm-bubble-wrap{max-width:min(78%,520px)}
#dm-thread-overlay .dm-bubble-media{max-width:min(78vw,300px)}
#dm-thread-overlay .dm-bubble-media img,#dm-thread-overlay .dm-bubble-media video{max-width:100%;height:auto;object-fit:contain}
#dm-thread-overlay #dm-send-form,#dm-thread-overlay #dm-recording-bar,#dm-thread-overlay #dm-context-bar,#dm-thread-overlay #dm-media-preview,#dm-thread-overlay #dm-blocked-banner{position:relative;z-index:2;box-sizing:border-box;flex-shrink:0!important;background:var(--card,#fff)}
#dm-thread-overlay #dm-send-form{min-height:64px;padding:9px 12px max(9px,env(safe-area-inset-bottom));gap:8px;border-top:1px solid rgba(0,0,0,.06);align-items:center}
#dm-thread-overlay #dm-send-form label{width:42px!important;height:42px!important;flex:0 0 42px;background:var(--bg)!important;border:1px solid rgba(0,0,0,.05);color:var(--p)!important}
#dm-thread-overlay #dm-input{height:44px!important;min-height:44px!important;border:1px solid #e7ebf2!important;background:#f7f8fb!important;color:var(--text)!important;font-family:inherit!important;font-size:14px!important;padding:10px 16px!important;border-radius:22px!important;box-shadow:none!important}
#dm-thread-overlay #dm-input:focus{border-color:rgba(255,35,56,.35)!important;box-shadow:0 0 0 3px rgba(255,35,56,.07)!important;background:#fff!important}
#dm-thread-overlay #dm-send-btn{width:44px!important;height:44px!important;flex:0 0 44px;background:var(--p)!important;color:#fff!important;box-shadow:0 7px 18px rgba(255,35,56,.22)}
#dm-thread-overlay #dm-send-btn.is-empty{background:#eef1f5!important;color:#9aa7b8!important;box-shadow:none}
#dm-thread-overlay #dm-send-btn-icon{display:flex!important;width:22px;height:22px;align-items:center;justify-content:center;color:inherit}
#dm-thread-overlay #dm-context-bar,#dm-thread-overlay #dm-media-preview{padding:8px 12px!important;border-top:1px solid rgba(0,0,0,.06)}
#dm-thread-overlay #dm-blocked-banner{padding:12px 14px max(12px,env(safe-area-inset-bottom))!important;border-top:1px solid rgba(0,0,0,.06)}
#dm-thread-overlay #dm-recording-bar{padding:9px 12px max(9px,env(safe-area-inset-bottom))!important;border-top:1px solid rgba(0,0,0,.06)}
@media(max-width:760px){#dm-thread-overlay .dm-chat-header{padding-left:10px;padding-right:10px}
#dm-thread-overlay #dm-thread-messages{padding:10px 10px 12px!important}
#dm-thread-overlay #dm-thread-messages .dm-bubble-wrap{max-width:84%}
#dm-thread-overlay .dm-bubble-media{max-width:82vw}}
@media(max-width:374px){#dm-thread-overlay .dm-chat-name{font-size:14px}
#dm-thread-overlay .dm-chat-status{font-size:9.5px}
#dm-thread-overlay .dm-chat-avatar,#dm-thread-overlay .dm-chat-avatar img,#dm-thread-overlay .dm-chat-avatar .dm-chat-avatar-placeholder{width:40px;height:40px;flex-basis:40px}
#dm-thread-overlay .dm-chat-back,#dm-thread-overlay .dm-chat-menu-btn{width:40px;height:40px;flex-basis:40px}
#dm-thread-overlay #dm-thread-messages .dm-bubble-wrap{max-width:88%}}
@media(min-width:761px){#dm-thread-overlay .dm-chat-header{padding-left:24px;padding-right:24px}
#dm-thread-overlay #dm-thread-messages{padding-left:24px!important;padding-right:24px!important}}
html{min-width:0;overflow-x:hidden}
body.k-chat-mode{overflow:hidden!important;overflow-x:hidden!important;height:100dvh!important;width:100%!important;max-width:none!important;padding-top:0!important;padding-bottom:0!important;margin:0!important;overscroll-behavior:none}
body.k-chat-mode> *:not(#dm-thread-overlay):not(#dm-reaction-popover):not(#dm-floating-menu):not(#dm-action-sheet):not(#dm-thread-menu):not(#kr-dialog):not(#dm-report-sheet):not(#dm-user-details):not(#dm-bg-sheet):not(#kat-root):not(#krloc-view):not(#user-profile-overlay){visibility:hidden!important}
body.k-chat-mode #nav,body.k-chat-mode #kr-bottom-nav,body.k-chat-mode #fab-btn,body.k-chat-mode>.container,body.k-chat-mode .header,body.k-chat-mode .kr-bottom-nav{display:none!important}
body.k-chat-mode #dm-thread-overlay #dm-extras-picker:not(.hidden){position:fixed!important;z-index:2147483300!important;visibility:visible!important;display:block!important;right:12px!important;left:12px!important;bottom:max(72px,calc(env(safe-area-inset-bottom) + 62px))!important;max-width:430px!important;margin:0 auto!important;}
body.k-chat-mode #dm-thread-overlay{
 display:flex!important;flex-direction:column!important;position:fixed!important;
 top:0!important;right:0!important;bottom:auto!important;left:0!important;
 width:auto!important;max-width:none!important;min-width:0!important;
 height:100dvh!important;height:var(--dm-viewport-height)!important;
 min-height:0!important;max-height:none!important;
 transform:none!important;translate:none!important;
 z-index:2147483000!important;margin:0!important;padding:0!important;
 box-sizing:border-box!important;overflow:hidden!important;
 background:var(--bg,#f5f7fb)!important;direction:rtl!important;
}
#dm-thread-overlay.k-chat-overlay{font-family:inherit;direction:rtl;isolation:isolate;inset-inline:0!important}
#dm-thread-overlay .dm-chat-header{
 height:auto!important;min-height:calc(64px + env(safe-area-inset-top))!important;
 box-sizing:border-box;display:flex!important;align-items:center;gap:10px;
 padding:calc(8px + env(safe-area-inset-top)) 12px 8px!important;
 background:var(--card,#fff);border-bottom:1px solid rgba(0,0,0,.06);
 box-shadow:0 2px 12px rgba(20,40,70,.05);flex:0 0 auto!important;direction:rtl;
}
#dm-thread-overlay #dm-thread-messages{
 flex:1 1 0!important;min-height:0!important;width:100%!important;max-width:none!important;
 box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;
 padding:14px 12px 18px!important;display:flex!important;flex-direction:column!important;
 gap:8px!important;background:var(--bg,#f5f7fb)!important;overscroll-behavior:contain;
 -webkit-overflow-scrolling:touch;scrollbar-width:thin;direction:rtl;text-align:right;
}
#dm-thread-overlay #dm-send-form{
 position:relative!important;z-index:2!important;box-sizing:border-box!important;
 flex:0 0 auto!important;width:100%!important;min-width:0!important;
 min-height:64px!important;padding:9px 12px max(9px,env(safe-area-inset-bottom))!important;
 gap:8px;border-top:1px solid rgba(0,0,0,.06);align-items:center;background:var(--card,#fff)!important;
}
#dm-thread-overlay #dm-input{flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important}
#dm-thread-overlay .dm-chat-back,#dm-thread-overlay .dm-chat-menu-btn{position:relative;z-index:3}
@media(max-width:760px){#dm-thread-overlay .dm-chat-header{padding-left:10px!important;padding-right:10px!important}
#dm-thread-overlay #dm-thread-messages{padding:10px 10px 12px!important}
#dm-thread-overlay #dm-thread-messages .dm-bubble-wrap{max-width:84%}}
@media(max-width:374px){#dm-thread-overlay .dm-chat-name{font-size:14px}
#dm-thread-overlay .dm-chat-status{font-size:9.5px}
#dm-thread-overlay .dm-chat-avatar,#dm-thread-overlay .dm-chat-avatar img,#dm-thread-overlay .dm-chat-avatar .dm-chat-avatar-placeholder{width:40px;height:40px;flex-basis:40px}
#dm-thread-overlay .dm-chat-back,#dm-thread-overlay .dm-chat-menu-btn{width:40px;height:40px;flex-basis:40px}
#dm-thread-overlay #dm-thread-messages .dm-bubble-wrap{max-width:88%}}
@media(min-width:761px){#dm-thread-overlay .dm-chat-header{padding-left:24px!important;padding-right:24px!important}
#dm-thread-overlay #dm-thread-messages{padding-left:24px!important;padding-right:24px!important}}
body.k-reels-mode{background:#000!important;overflow:hidden!important}
body.k-reels-mode #reels-page{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;background:#000!important;z-index:7000!important;overflow:hidden!important}
body.k-reels-mode #reels-feed{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important;overscroll-behavior-y:contain!important;scroll-behavior:smooth!important}
body.k-reels-mode #reels-feed .reels-card{position:relative!important;width:100%!important;height:100dvh!important;min-height:100dvh!important;max-height:none!important;flex:0 0 100dvh!important;scroll-snap-align:start!important;overflow:hidden!important;background:#000!important}
#reels-feed .reels-video-shell{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:#000!important}
#reels-feed .reels-video{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;background:#000!important}
#reels-feed .reels-image{position:relative!important;z-index:1!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.reels-overlay-header{position:absolute;top:0;left:0;right:0;z-index:20;padding:calc(12px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 14px calc(12px + env(safe-area-inset-left));display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;direction:ltr;background:linear-gradient(180deg,rgba(0,0,0,.46),rgba(0,0,0,0));pointer-events:none}
.reels-empty-state{position:absolute;inset:0;z-index:20;width:100%;height:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 28px;background:#000;color:#fff;box-sizing:border-box;touch-action:none;overflow:hidden}
.reels-empty-header{position:absolute!important;top:0;left:0;right:0;z-index:30}
.reels-empty-mode{overflow:hidden!important;scroll-snap-type:none!important;touch-action:none!important}
.reels-empty-mode .reels-empty-state{position:absolute!important;inset:0!important}
.reels-empty-mode .reels-overlay-header{pointer-events:auto!important}
.reels-empty-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:calc(80px + env(safe-area-inset-top)) 0 calc(80px + env(safe-area-inset-bottom))}
.reels-empty-icon{width:74px;height:74px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:18px;background:rgba(255,255,255,.10);color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.reels-empty-icon svg{width:34px;height:34px;stroke:currentColor}
.reels-empty-state h2{margin:0 0 10px;font-size:20px;font-weight:900;letter-spacing:-.3px}
.reels-empty-state p{max-width:330px;margin:0;color:rgba(255,255,255,.72);font-size:13px;line-height:1.9}
.reels-empty-state::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 45%,rgba(255,48,69,.14),transparent 42%)}
.reels-empty-hint{margin-top:16px;padding:9px 14px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.82);font-size:11px;line-height:1.7;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.reels-search-empty small{display:block;margin-top:6px;color:var(--sub);line-height:1.8}
.reels-header-brand{justify-self:start;border:0;background:none;color:#fff;font-size:20px;font-weight:950;letter-spacing:-.5px;padding:8px;pointer-events:auto;text-shadow:0 2px 8px #000}
.reels-header-brand span{font-weight:800}
.reels-tabs{display:flex;align-items:center;justify-content:center;gap:22px;direction:rtl;pointer-events:auto}
.reels-tabs button{position:relative;border:0;background:none;color:rgba(255,255,255,.74);font:800 14px inherit;padding:10px 2px;min-width:82px;text-shadow:0 2px 7px #000}
.reels-tabs button.active{color:#fff}
.reels-tabs button.active::after{content:"";position:absolute;left:20%;right:20%;bottom:1px;height:3px;border-radius:4px;background:#ff3045;box-shadow:0 2px 8px rgba(255,48,69,.5)}
.reels-header-actions{justify-self:end;display:flex;gap:5px;direction:rtl;pointer-events:auto}
.reels-header-actions button{width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.26);color:#fff;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);text-shadow:0 2px 7px #000}
.reels-header-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.reels-home-btn{justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 11px;border:0;border-radius:14px;background:rgba(0,0,0,.28);color:#fff;font:800 12px inherit;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);text-shadow:0 2px 7px #000;pointer-events:auto;cursor:pointer;white-space:nowrap}
.reels-home-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.reels-post-search{position:fixed;inset:0;z-index:2147482500;background:var(--bg,#f5f7fb);color:var(--text,#111);direction:rtl;display:flex;flex-direction:column;overflow:hidden}
.reels-post-search.hidden{display:none}
.reels-post-search-header{flex:0 0 auto;display:flex;align-items:center;gap:9px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:var(--card,#fff);border-bottom:1px solid rgba(0,0,0,.07);box-shadow:0 4px 18px rgba(20,30,50,.06)}
.reels-post-search-back{width:42px;height:42px;border:0;border-radius:13px;background:var(--bg,#f3f4f6);color:var(--text,#111);display:flex;align-items:center;justify-content:center;flex:0 0 42px;cursor:pointer}
.reels-post-search-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.reels-post-search-title{font-size:15px;font-weight:900;white-space:nowrap}
.reels-post-search-form{padding:12px;background:var(--card,#fff);border-bottom:1px solid rgba(0,0,0,.05)}
.reels-post-search-input-wrap{display:flex;align-items:center;gap:9px;border:1px solid #e4e7ec;background:var(--bg,#f6f7f9);border-radius:16px;padding:0 13px;min-height:48px}
.reels-post-search-input-wrap:focus-within{border-color:var(--p);box-shadow:0 0 0 3px rgba(0,122,255,.08)}
.reels-post-search-input-wrap svg{width:20px;height:20px;flex:0 0 20px;color:var(--sub);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#reels-post-search-input{border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:13px;width:100%;min-width:0}
.reels-post-search-meta{padding:9px 14px 3px;color:var(--sub);font-size:11px;min-height:18px}
.reels-post-search-results{flex:1;overflow:auto;padding:10px 12px calc(18px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
.reels-post-search-history{display:flex;flex-direction:column;gap:7px}
.reels-search-history-row{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:13px;background:var(--card);border:1px solid rgba(0,0,0,.05);cursor:pointer}
.reels-search-history-row span{flex:1;font-size:12px}
.reels-search-history-clear{border:0;background:transparent;color:var(--sub);font:700 10px inherit;cursor:pointer}
.reels-search-result{display:flex;gap:11px;padding:10px;border-radius:17px;background:var(--card);border:1px solid rgba(0,0,0,.06);margin-bottom:9px;cursor:pointer;overflow:hidden}
.reels-search-thumb{width:94px;height:126px;flex:0 0 94px;border-radius:12px;overflow:hidden;background:#111;position:relative}
.reels-search-thumb img,.reels-search-thumb video{width:100%;height:100%;object-fit:cover;display:block}
.reels-search-copy{min-width:0;flex:1;text-align:right;display:flex;flex-direction:column;gap:5px}
.reels-search-user{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:900}
.reels-search-user img,.reels-search-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#eef0f3;flex:0 0 28px}
.reels-search-caption{font-size:11.5px;line-height:1.75;color:var(--text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.reels-search-tags{display:flex;flex-wrap:wrap;gap:5px}
.reels-search-tag{font-size:10px;font-weight:800;color:var(--p);background:rgba(0,122,255,.08);border-radius:9px;padding:4px 6px}
.reels-search-link{margin-top:auto;max-width:100%}
.reels-search-empty{text-align:center;padding:70px 24px;color:var(--sub);font-size:12px;line-height:1.9}
.reels-search-load{width:100%;border:1px solid rgba(0,0,0,.08);background:var(--card);color:var(--p);border-radius:13px;padding:11px;font:800 12px inherit;cursor:pointer}
.reels-search-load.hidden{display:none}
@media(max-width:600px){.reels-home-btn{font-size:11px;padding:0 9px}
.reels-search-thumb{width:84px;height:116px;flex-basis:84px}}
.reels-side-actions{right:calc(10px + env(safe-area-inset-right))!important;bottom:calc(150px + env(safe-area-inset-bottom))!important;z-index:25!important;gap:8px!important;max-height:none!important;overflow:visible!important}
.reels-action{width:50px!important;height:50px!important;min-height:50px!important;background:rgba(0,0,0,.18)!important;border-radius:50%!important;color:#fff!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);text-shadow:0 2px 7px #000}
.reels-action svg{width:28px!important;height:28px!important}
.reels-action small{font-size:10px!important}
.reels-action.liked{color:#ff3045!important}
.reels-action.saved{color:#fff!important}
.reels-action.saved svg{fill:#fff;filter:drop-shadow(0 2px 5px #000)}
.reels-rail-avatar{width:50px;height:50px;padding:0;border:2px solid #fff;border-radius:50%;overflow:hidden;background:#222;box-shadow:0 3px 12px rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center}
.reels-rail-avatar img,.reels-rail-avatar .reels-user-avatar{width:100%;height:100%;object-fit:cover}
.reels-rail-follow{width:24px;height:24px;border:0;border-radius:50%;background:#ff3045;color:#fff;font-weight:950;font-size:18px;line-height:1;position:absolute;top:38px;right:1px;z-index:2;box-shadow:0 2px 8px #000}
.reels-bottom{left:calc(14px + env(safe-area-inset-left))!important;right:calc(76px + env(safe-area-inset-right))!important;bottom:calc(20px + env(safe-area-inset-bottom))!important;z-index:24!important;max-height:58dvh!important;overflow:visible!important;pointer-events:none}
.reels-user-block{display:flex;align-items:center;gap:9px;direction:rtl;pointer-events:auto;margin-bottom:8px;max-width:min(76vw,560px)}
.reels-user-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.96);background:#222;box-shadow:0 2px 9px rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;color:#fff}
.reels-avatar-fallback{font-size:19px}
.reels-user-text{min-width:0;color:#fff;text-align:right;text-shadow:0 2px 8px #000}
.reels-user-line{display:flex;align-items:center;gap:5px;direction:rtl;min-width:0}
.reels-user-line b{font-size:15px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reels-user-handle{font-size:11px;opacity:.78;direction:ltr;unicode-bidi:plaintext}
.reels-user-time{font-size:11px;opacity:.8;margin-top:2px;display:flex;align-items:center;gap:8px}
.reels-user-time .reels-follow-btn{margin:0;padding:4px 9px;font-size:10px}
.reels-caption{font-size:14px!important;line-height:1.7!important;max-height:4.9em!important;margin:0 0 7px!important;color:#fff!important;text-shadow:0 2px 8px #000!important;pointer-events:auto!important}
.reels-caption-more{display:inline-block;margin-right:6px;color:#fff;font-weight:900;font-size:11px;opacity:.9}
.reels-caption.expanded{max-height:45dvh!important;overflow:auto!important;background:rgba(0,0,0,.66)!important;padding:12px!important;border-radius:14px!important}
.reels-hashtags{display:flex;flex-wrap:wrap;gap:6px;direction:rtl;margin-top:5px;pointer-events:auto}
.reels-hashtag{border:1px solid rgba(255,255,255,.28);border-radius:18px;background:rgba(0,0,0,.32);color:#fff;padding:5px 10px;font:800 11px inherit;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.reels-bottom .kr-link-preview{display:flex!important;width:min(100%,520px)!important;margin-top:9px!important;pointer-events:auto!important;background:rgba(18,18,22,.76)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;border-radius:14px!important;overflow:hidden!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.reels-bottom .kr-link-preview-main{padding:10px 11px!important;min-width:0}
.reels-bottom .kr-link-site,.reels-bottom .kr-link-title,.reels-bottom .kr-link-desc,.reels-bottom .kr-link-url{color:#fff!important}
.reels-bottom .kr-link-image{width:92px!important;min-width:92px!important;display:block!important;order:2}
.reels-bottom .kr-link-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.reels-mute{position:absolute;right:calc(10px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:28;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.42);color:#fff;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.reels-mute svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.reels-progress{left:0!important;right:0!important;bottom:0!important;height:3px!important;z-index:40!important;background:rgba(255,255,255,.28)!important}
.reels-progress-fill{background:#fff!important}
.reels-more-menu{right:58px!important;top:auto!important;bottom:0!important;transform:none!important;min-width:170px!important}
@media(max-width:600px){.reels-overlay-header{grid-template-columns:auto 1fr auto;padding-top:calc(8px + env(safe-area-inset-top))}
.reels-tabs{gap:10px}
.reels-tabs button{font-size:13px;min-width:76px}
.reels-header-brand{font-size:18px}
.reels-header-actions button{width:38px;height:38px}
.reels-side-actions{right:calc(6px + env(safe-area-inset-right))!important;bottom:calc(124px + env(safe-area-inset-bottom))!important;gap:5px!important}
.reels-action{width:45px!important;height:45px!important;min-height:45px!important}
.reels-action svg{width:27px!important;height:27px!important}
.reels-rail-avatar{width:46px;height:46px}
.reels-bottom{left:calc(10px + env(safe-area-inset-left))!important;right:calc(62px + env(safe-area-inset-right))!important;bottom:calc(12px + env(safe-area-inset-bottom))!important}
.reels-user-avatar{width:37px;height:37px;flex-basis:37px}
.reels-user-line b{font-size:14px}
.reels-caption{font-size:13px!important}
.reels-mute{right:calc(8px + env(safe-area-inset-right));bottom:calc(74px + env(safe-area-inset-bottom));width:38px;height:38px}
.reels-bottom .kr-link-image{width:76px!important;min-width:76px!important}}
@media(min-width:601px){body.k-reels-mode #reels-feed .reels-card{max-width:720px!important;margin-inline:auto}
.reels-overlay-header{left:max(0px,calc((100vw - 720px)/2));right:max(0px,calc((100vw - 720px)/2))}
.reels-side-actions{right:max(calc(10px + env(safe-area-inset-right)),calc((100vw - 720px)/2 + 10px))!important}
.reels-bottom{left:max(calc(14px + env(safe-area-inset-left)),calc((100vw - 720px)/2 + 14px))!important;right:max(calc(76px + env(safe-area-inset-right)),calc((100vw - 720px)/2 + 76px))!important}}
:root{--kr-red:#ff2338;--kr-ink:#121827;--kr-muted:#71809a;--kr-line:#e7ebf2;--kr-soft:#f7f9fc;--kr-card:#fff}
[data-theme="dark"]{--kr-ink:#f5f7fb;--kr-muted:#a6afbd;--kr-line:#2c3038;--kr-soft:#17191e;--kr-card:#111318}
.kr-messages-page{max-width:900px;margin:0 auto;padding:18px 18px calc(92px + env(safe-area-inset-bottom));box-sizing:border-box;direction:rtl}
.kr-messages-shell{background:var(--kr-card);border:1px solid var(--kr-line);border-radius:26px;box-shadow:0 12px 35px rgba(30,45,70,.07);overflow:hidden}
.kr-messages-head{display:grid;grid-template-columns:44px minmax(0,1fr) 46px;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--kr-line)}
.kr-messages-back{width:44px;height:44px;border:1px solid var(--kr-line);border-radius:14px;background:var(--kr-soft);color:var(--kr-ink);display:flex;align-items:center;justify-content:center;cursor:pointer}
.kr-messages-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-messages-head h2{color:var(--kr-ink)}
.kr-messages-head p{color:var(--kr-muted)}
.kr-message-tabs{padding:10px 12px;background:var(--kr-soft);border-bottom:1px solid var(--kr-line)}
.kr-message-tab{min-height:52px;color:var(--kr-muted)}
.kr-message-tab.active{color:var(--kr-red);background:var(--kr-card);box-shadow:0 5px 16px rgba(20,30,50,.06)}
.kr-conversation-card{background:var(--kr-card);border-color:var(--kr-line);box-shadow:0 4px 13px rgba(20,30,50,.035)}
.kr-conversation-card.is-unread{border-color:rgba(255,35,56,.22);background:linear-gradient(90deg,rgba(255,35,56,.045),var(--kr-card))}
.k-chat-overlay{background:var(--bg);direction:rtl}
.dm-chat-username{font-size:9.5px;color:var(--kr-muted);direction:ltr;text-align:right;margin-top:1px}
.dm-composer-action-slot{width:44px;height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center}
.dm-composer-action{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;touch-action:manipulation}
.dm-composer-action.is-hidden{display:none!important}
.dm-composer-action.is-visible{display:flex!important}
.dm-mic-btn{background:var(--kr-soft);color:var(--kr-ink);border:1px solid var(--kr-line)}
.dm-mic-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dm-send-btn{background:var(--p);color:#fff}
.dm-send-btn:disabled{opacity:.5;cursor:default}
#dm-send-form{padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:8px;background:var(--kr-card);border-top:1px solid var(--kr-line)}
#dm-input{background:var(--kr-soft);border-color:var(--kr-line);color:var(--kr-ink)}
#dm-thread-messages{background:var(--bg);padding:18px 14px max(22px,env(safe-area-inset-bottom))}
.kr-share-picker{position:fixed;inset:0;z-index:121000;background:rgba(8,12,20,.46);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.kr-share-picker.hidden{display:none!important}
.kr-share-sheet{width:min(620px,100%);max-height:min(84dvh,760px);display:flex;flex-direction:column;background:var(--kr-card);border-radius:26px 26px 0 0;overflow:hidden;box-shadow:0 -18px 70px rgba(0,0,0,.24);padding:8px 16px max(12px,env(safe-area-inset-bottom))}
.kr-share-sheet-handle{width:42px;height:4px;border-radius:5px;background:var(--kr-line);margin:4px auto 8px}
.kr-share-sheet-head{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:10px;padding:3px 0 12px}
.kr-share-sheet-head h2{margin:0;color:var(--kr-ink);font-size:18px;font-weight:900}
.kr-share-sheet-head p{margin:3px 0 0;color:var(--kr-muted);font-size:10.5px}
.kr-share-close{width:40px;height:40px;border:1px solid var(--kr-line);border-radius:13px;background:var(--kr-soft);color:var(--kr-ink);font-size:25px;line-height:1;cursor:pointer}
.kr-share-head-icon{width:40px;height:40px;border-radius:13px;background:rgba(255,35,56,.09);color:var(--kr-red);display:flex;align-items:center;justify-content:center}
.kr-share-head-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-share-preview{display:flex;align-items:center;gap:10px;min-height:58px;padding:9px 10px;border:1px solid var(--kr-line);border-radius:17px;background:var(--kr-soft);margin-bottom:10px;overflow:hidden}
.kr-share-preview img{width:50px;height:50px;flex:0 0 50px;border-radius:12px;object-fit:cover;background:var(--bg)}
.kr-share-preview span{min-width:0;display:flex;flex-direction:column;gap:3px}
.kr-share-preview strong{font-size:12px;color:var(--kr-ink)}
.kr-share-preview small{font-size:10px;color:var(--kr-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-share-search-wrap{height:46px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--kr-line);border-radius:15px;background:var(--kr-soft)}
.kr-share-search-wrap svg{width:17px;height:17px;fill:none;stroke:var(--kr-muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 17px}
.kr-share-search-wrap input{border:0!important;background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important;color:var(--kr-ink);height:44px!important;flex:1;font-size:12px}
.kr-share-section-title{font-size:10.5px;color:var(--kr-muted);font-weight:800;padding:12px 3px 7px}
.kr-share-list{min-height:120px;overflow:auto;overscroll-behavior:contain;padding:0 2px}
.kr-share-person{width:100%;min-height:64px;border:0;border-bottom:1px solid var(--kr-line);background:transparent;color:var(--kr-ink);display:flex;align-items:center;gap:10px;padding:8px 4px;cursor:pointer;direction:rtl;text-align:right}
.kr-share-person.is-selected{background:rgba(255,35,56,.055)}
.kr-share-avatar{position:relative;width:44px;height:44px;flex:0 0 44px;border-radius:50%;overflow:visible}
.kr-share-avatar img,.kr-share-avatar-fallback{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--kr-soft);display:flex;align-items:center;justify-content:center;color:var(--kr-muted)}
.kr-share-avatar-fallback svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-share-avatar i{position:absolute;bottom:0;left:0;width:9px;height:9px;border-radius:50%;background:#34c759;border:2px solid var(--kr-card)}
.kr-share-person-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.kr-share-person-copy strong{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-share-person-copy small{font-size:9.5px;color:var(--kr-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-share-check{width:25px;height:25px;border-radius:50%;border:1.5px solid #cfd5df;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;flex:0 0 25px}
.kr-share-person.is-selected .kr-share-check{background:var(--kr-red);border-color:var(--kr-red)}
.kr-share-footer{display:grid;grid-template-columns:1fr 1.55fr;gap:9px;padding-top:10px;border-top:1px solid var(--kr-line)}
.kr-share-copy,.kr-share-send{height:46px;border-radius:15px;font:800 12px inherit;cursor:pointer}
.kr-share-copy{border:1px solid var(--kr-line);background:var(--kr-soft);color:var(--kr-ink);display:flex;align-items:center;justify-content:center;gap:6px}
.kr-share-send{border:0;background:var(--kr-red);color:#fff}
.kr-share-send:disabled{background:#dfe3ea;color:#8993a4;cursor:default}
.kr-share-copy svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kr-share-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 10px;color:var(--kr-muted)}
.kr-share-empty-icon{width:48px;height:48px;border-radius:50%;background:rgba(255,35,56,.08);color:var(--kr-red);display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.kr-share-empty-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.kr-share-empty strong{color:var(--kr-ink);font-size:13px}
.kr-share-empty span{font-size:10.5px;margin-top:3px}
#settings-page{direction:rtl;max-width:760px;margin:0 auto;padding:8px 14px calc(92px + env(safe-area-inset-bottom));box-sizing:border-box}
#settings-page .kr-settings-top{height:54px;margin:0 0 12px;display:grid;grid-template-columns:44px 1fr 92px;align-items:center;gap:8px}
#settings-page .kr-settings-title{margin:0;text-align:center;font-size:22px;color:var(--text);font-weight:900}
#settings-page .kr-settings-brand{justify-self:end;color:var(--p);font-size:17px;font-weight:950;display:flex;align-items:center;gap:5px;direction:ltr}
#settings-page .kr-settings-brand img{width:27px;height:27px;object-fit:contain}
#settings-page .kr-settings-back{width:44px;height:44px;border:0;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer}
#settings-page .kr-settings-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#settings-page .kr-settings-account{width:100%;display:grid;grid-template-columns:60px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:14px;border:1px solid rgba(30,45,70,.07);border-radius:23px;background:var(--card);box-shadow:0 7px 24px rgba(30,45,70,.06);color:var(--text);text-align:right;cursor:pointer}
#settings-page .kr-settings-account-avatar{width:58px;height:58px;border-radius:50%;overflow:hidden;background:var(--bg);display:flex;align-items:center;justify-content:center}
#settings-page .kr-settings-account-avatar img{width:100%;height:100%;object-fit:cover}
#settings-page .kr-settings-account-name{font-size:15px;font-weight:900}
#settings-page .kr-settings-account-username{font-size:11px;color:var(--sub);direction:ltr;text-align:right;margin-top:2px}
#settings-page .kr-settings-account-bio{font-size:10.5px;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
#settings-page .kr-settings-section-label{font-size:12px;color:var(--sub);font-weight:800;margin:18px 6px 7px}
#settings-page .kr-settings-group{border:1px solid rgba(30,45,70,.07);border-radius:20px;overflow:hidden;background:var(--card);box-shadow:0 5px 18px rgba(30,45,70,.045)}
#settings-page .kr-settings-row{min-height:58px;padding:9px 13px;gap:11px;border-bottom:1px solid rgba(30,45,70,.065);background:var(--card);color:var(--text)}
#settings-page .kr-settings-row:last-child{border-bottom:0}
#settings-page .kr-settings-icon{width:36px;height:36px;border-radius:12px;background:var(--bg);color:var(--text);display:flex;align-items:center;justify-content:center;flex:0 0 36px}
#settings-page .kr-settings-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#settings-page .kr-settings-row-title{font-size:13px;font-weight:850}
.kr-settings-row-sub{font-size:9.5px;color:var(--sub);line-height:1.5;margin-top:2px}
#settings-page .kr-settings-row-value{font-size:10px;color:var(--sub)}
#settings-page .kr-settings-danger{height:50px;margin-top:18px;border:0;border-radius:17px;background:rgba(255,59,48,.08);color:var(--red);font-family:inherit;font-size:12px;font-weight:850}
@media(max-width:430px){.kr-messages-page{padding:6px 9px calc(92px + env(safe-area-inset-bottom))}
.kr-messages-shell{border-radius:21px}
.kr-messages-head{padding:13px 11px;grid-template-columns:40px minmax(0,1fr) 42px}
.kr-messages-back{width:40px;height:40px}
.kr-messages-head h2{font-size:18px}
.kr-messages-head p{font-size:10px}
.kr-messages-bell{width:42px;height:42px;flex-basis:42px}
.kr-message-panel{padding:10px 8px 14px}
.kr-message-tab{font-size:10px;min-height:46px}
.kr-conversation-card{min-height:67px;padding:10px}
.kr-conversation-avatar,.kr-conversation-avatar img,.kr-conversation-avatar .kr-avatar-fallback{width:45px;height:45px;flex-basis:45px}
#settings-page{padding-inline:10px}
#settings-page .kr-settings-row-sub{display:none}
.kr-settings-row{min-height:55px}
.kr-share-sheet{padding-inline:12px}
.kr-share-footer{grid-template-columns:1fr 1.45fr}}
.kr-conversation-username{font-size:9px;color:var(--kr-muted);direction:ltr;text-align:right;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-conversation-card.is-unread .kr-conversation-name{font-weight:900}
body.krilz-startup-lock{overflow:hidden!important;touch-action:none!important;overscroll-behavior:none!important}
.krilz-startup-loading{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;direction:rtl;opacity:1;transition:opacity .22s ease,visibility .22s ease}
.krilz-startup-loading.hidden{opacity:0;visibility:hidden;pointer-events:none}
.krilz-startup-loading.is-finishing .krilz-startup-card{transform:translateY(-5px) scale(.985);opacity:.96}
.krilz-startup-backdrop{position:absolute;inset:0;background:rgba(245,246,250,.70);backdrop-filter:blur(13px) saturate(.82);-webkit-backdrop-filter:blur(13px) saturate(.82)}
.krilz-startup-card{position:relative;width:min(560px,100%);max-height:min(88dvh,760px);overflow:auto;background:rgba(255,255,255,.94);border:1px solid rgba(0,0,0,.07);border-radius:28px;box-shadow:0 24px 80px rgba(20,28,45,.18);padding:20px;box-sizing:border-box;transition:transform .22s ease,opacity .22s ease}
.krilz-startup-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.krilz-startup-logo{width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:var(--p,#007aff);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:25px;box-shadow:0 8px 22px rgba(0,122,255,.20)}
.krilz-startup-brand strong{display:block;font-size:17px;letter-spacing:.2px}
.krilz-startup-brand span{display:block;margin-top:4px;color:var(--sub,#8e8e93);font-size:11px;line-height:1.6}
.krilz-startup-progress{height:4px;background:rgba(0,0,0,.07);border-radius:999px;overflow:hidden;margin:18px 0 0}
.krilz-startup-progress span{display:block;width:42%;height:100%;border-radius:inherit;background:var(--p,#007aff);animation:krilzStartupProgress 1.25s ease-in-out infinite}
.krilz-startup-loader-ring{width:46px;height:46px;margin:22px auto 2px;border-radius:50%;border:3px solid rgba(0,0,0,.08);border-top-color:var(--p,#007aff);border-right-color:var(--red,#ff3b30);animation:krMediaLoadSpin .72s linear infinite;box-shadow:0 6px 22px rgba(0,0,0,.12)}
@keyframes krilzStartupProgress{0%{transform:translateX(170%)}100%{transform:translateX(-270%)}}
@keyframes krMediaLoadSpin{to{transform:rotate(360deg)}}
.krilz-startup-retry{display:block;width:100%;margin-top:12px;border:0;border-radius:14px;background:var(--p,#007aff);color:#fff;padding:11px;font-weight:800;cursor:pointer}
.krilz-startup-loading.has-error .krilz-startup-progress span{animation:none;width:100%;background:var(--red,#ff3b30)}
@media (max-width:520px){.krilz-startup-loading{padding:12px}
.krilz-startup-card{border-radius:24px;padding:18px;max-height:91dvh}
.krilz-startup-loader-ring{width:42px;height:42px}}
[data-theme="dark"] .krilz-startup-backdrop{background:rgba(14,16,22,.74)}
[data-theme="dark"] .krilz-startup-card{background:rgba(28,30,38,.95);border-color:rgba(255,255,255,.08)}
[data-theme="dark"] .krilz-startup-loader-ring{border-color:rgba(255,255,255,.12);border-top-color:var(--p,#007aff);border-right-color:var(--red,#ff3b30)}
.kr-ui-icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
#user-profile-overlay.kr-profile-redesign .kr-profile-cover-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:0;}
#user-profile-overlay.kr-profile-redesign .kr-profile-cover > img:not(.kr-profile-cover-art){z-index:1;position:relative;}
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar{z-index:4;}
#user-profile-overlay.kr-profile-redesign .kr-profile-topbar .kr-ui-icon{width:20px;height:20px;}
#user-profile-overlay.kr-profile-redesign .kr-profile-tabs .kr-ui-icon{width:18px;height:18px;}
.dm-extra-btn{flex:0 0 38px;width:38px;height:38px;border:1px solid var(--kr-line);border-radius:12px;background:var(--kr-soft);color:var(--kr-ink);font-size:11px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation}
.dm-extra-btn:active{transform:scale(.94)}
.dm-emoji-btn{font-size:22px;line-height:1}
.dm-extras-picker{position:fixed;z-index:6600;right:12px;left:12px;bottom:max(72px,calc(env(safe-area-inset-bottom) + 62px));max-width:430px;margin:0 auto;background:var(--kr-card);border:1px solid var(--kr-line);border-radius:20px;box-shadow:0 18px 55px rgba(0,0,0,.24);padding:12px;direction:rtl}
.dm-extras-picker.hidden{display:none!important}
.dm-extras-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 10px;color:var(--kr-ink)}
.dm-extras-head button{border:0;background:transparent;color:var(--kr-muted);font-size:24px;line-height:1;cursor:pointer}
.dm-animated-emoji-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;max-height:250px;overflow:auto}
.dm-animated-emoji-choice{border:0;background:var(--kr-soft);border-radius:15px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:31px;cursor:pointer;transition:transform .16s ease,background .16s ease}
.dm-animated-emoji-choice:hover,.dm-animated-emoji-choice:active{transform:scale(1.08);background:var(--kr-line)}
.dm-extras-note{font-size:10px;color:var(--kr-muted);padding:9px 4px 2px;text-align:center}
.dm-bubble-animated-emoji{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px 4px!important}
.dm-bubble:has(.dm-animated-emoji){width:fit-content!important;max-width:none!important;min-width:0!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;line-height:1!important;overflow:visible!important}
.dm-animated-emoji-only{display:inline-flex;align-items:center;justify-content:center;gap:2px;max-width:100%;flex-wrap:wrap}
.reels-comment-text .dm-animated-emoji{margin:4px 0;filter:none}
.reels-comment-text .dm-noto-emoji-image.is-inline{width:26px;height:26px;max-width:1.6em}
.dm-animated-emoji{display:inline-flex;align-items:center;justify-content:center;line-height:1;filter:drop-shadow(0 5px 8px rgba(0,0,0,.12));min-width:80px;min-height:80px}
.dm-noto-emoji-image{display:block;object-fit:contain;max-width:100%;height:auto;animation:krilzEmojiPop .55s cubic-bezier(.2,.9,.25,1.3);transform-origin:center}
.dm-noto-emoji-image.is-large{width:80px;height:80px}
.dm-noto-emoji-image.is-inline{display:inline-block;vertical-align:-0.35em;width:26px;height:26px;max-width:1.6em;animation:none}
.dm-noto-emoji-image.is-picker{width:38px;height:38px;animation:none}
.dm-noto-emoji-fallback{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-family:system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;vertical-align:middle}
.dm-noto-emoji-fallback.is-large{width:80px;height:80px;font-size:72px}
.dm-noto-emoji-fallback.is-inline{width:26px;height:26px;max-width:1.6em;font-size:1.35em;vertical-align:-0.35em}
.dm-noto-emoji-fallback.is-picker{width:38px;height:38px;font-size:31px}
@keyframes krilzEmojiPop{0%{transform:scale(.2) rotate(-12deg);opacity:0}55%{transform:scale(1.18) rotate(5deg);opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}
@keyframes krilzEmojiFloat{0%{transform:translateY(0) rotate(-2deg)}100%{transform:translateY(-5px) rotate(2deg)}}
@media (prefers-reduced-motion:reduce){.dm-animated-emoji,.dm-noto-emoji-image{animation:none}
.dm-extra-btn:active{transform:none}}
.dm-gif-search-row{display:flex;gap:7px;align-items:center;margin-bottom:9px}
.dm-gif-search-row input{flex:1;min-width:0;height:40px;border:1px solid var(--kr-line);border-radius:12px;background:var(--kr-soft);color:var(--kr-ink);padding:0 12px;font-size:12px;outline:none}
.dm-gif-search-row button{height:40px;border:1px solid var(--kr-line);border-radius:12px;background:var(--kr-soft);color:var(--kr-ink);padding:0 10px;font-size:11px;font-weight:800;cursor:pointer}
.dm-gif-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-height:min(42dvh,330px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;border-radius:12px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
.dm-gif-item{border:0;padding:0;min-width:0;aspect-ratio:1.15;background:var(--kr-soft);border-radius:10px;overflow:hidden;cursor:pointer}
.dm-gif-item img{width:100%;height:100%;object-fit:cover;display:block}
.dm-gif-state{grid-column:1/-1;text-align:center;color:var(--kr-muted);font-size:11px;padding:35px 10px}
.dm-giphy-attribution{text-align:center;font-size:9px;color:var(--kr-muted);padding:6px}
.dm-external-gif img{display:block;max-width:min(280px,68vw);max-height:280px;width:auto;height:auto;border-radius:12px}
.dm-extras-picker .hidden{display:none!important}
.dm-local-gif-btn{width:100%;height:36px;border:1px dashed var(--kr-line);border-radius:11px;background:transparent;color:var(--kr-ink);font-size:11px;font-weight:800;cursor:pointer;margin:0 0 8px}
#dm-extras-picker{background:rgba(14,15,21,.98)!important;border:1px solid rgba(255,255,255,.1)!important;color:#f2f4f8!important;border-radius:16px!important;box-shadow:0 18px 44px rgba(0,0,0,.6)!important}
#dm-extras-picker .dm-extras-head{color:#f2f4f8!important;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:8px}
#dm-extras-picker .dm-extras-head button{color:#a9aebb!important}

.kr-gif-categories{display:flex;align-items:center;gap:5px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;margin:0 0 8px;padding:1px 0 4px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;direction:rtl}
.kr-gif-categories::-webkit-scrollbar{display:none}
.kr-gif-categories button{flex:0 0 auto;min-height:28px;padding:0 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.055);color:#cbd0db;font-family:inherit;font-size:10px;font-weight:700;line-height:1;cursor:pointer;transition:background .16s,border-color .16s,color .16s}
.kr-gif-categories button.active{background:rgba(255,55,91,.18);border-color:rgba(255,75,108,.65);color:#ff8299}
#reels-comment-gif-picker .kr-gif-categories button{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.12);color:#cbd0db}
#reels-comment-gif-picker .kr-gif-categories button.active{background:rgba(255,55,91,.18);border-color:rgba(255,75,108,.65);color:#ff8299}
#dm-extras-picker .kr-klipy-tabs{display:flex;gap:6px;margin:0 0 8px}
#dm-extras-picker .kr-klipy-tabs button{flex:1;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#cbd0db;border-radius:10px;padding:8px;font:inherit;font-size:12px;font-weight:800}
#dm-extras-picker .kr-klipy-tabs button.active{background:linear-gradient(150deg,#ff5a78,#ff1f52);border-color:transparent;color:#fff}
#dm-extras-picker .dm-gif-search-row input{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:13px!important}
#dm-extras-picker .dm-gif-search-row button{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important}
#dm-extras-picker .dm-local-gif-btn{border-color:rgba(255,255,255,.16)!important;color:#e9ebf1!important}
#dm-extras-picker .dm-gif-item{background:rgba(255,255,255,.08)!important;border-radius:9px!important}
#dm-extras-picker .dm-gif-state,#dm-extras-picker .dm-giphy-attribution,#dm-extras-picker .dm-extras-note{color:#a9aebb!important}
@media(max-width:420px){.dm-gif-results{grid-template-columns:repeat(3,minmax(0,1fr))}}
#reels-comment-status{flex:0 0 100%;width:100%;box-sizing:border-box}
#reels-comment-gif-picker{flex:0 0 100%;width:100%;box-sizing:border-box;order:1;padding:8px 10px 10px;border-top:1px solid rgba(0,0,0,.07);background:var(--card);direction:rtl}
#reels-comment-gif-picker.hidden{display:none!important}
.reels-comment-gif-search-row{display:flex;gap:7px;align-items:center;margin-bottom:8px}
.reels-comment-gif-search-row input{flex:1;min-width:0;height:38px;border:1px solid var(--kr-line);border-radius:11px;background:var(--kr-soft);color:var(--kr-ink);padding:0 11px;font:inherit;font-size:12px;outline:none}
.reels-comment-gif-search-row button{height:38px;border:1px solid var(--kr-line);border-radius:11px;background:var(--kr-soft);color:var(--kr-ink);padding:0 9px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.reels-comment-gif-results{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;max-height:min(42dvh,330px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;border-radius:12px}
.reels-comment-gif-item{border:0;padding:0;min-width:0;aspect-ratio:1.15;background:var(--kr-soft);border-radius:9px;overflow:hidden;cursor:pointer}
.reels-comment-gif-item img{width:100%;height:100%;object-fit:cover;display:block}
.reels-comment-gif-state{grid-column:1/-1;text-align:center;color:var(--kr-muted);font-size:11px;padding:25px 8px}
.reels-comment-giphy-attribution{text-align:center;font-size:8px;color:var(--kr-muted);padding:5px 0 0}
.reels-comment-gif-preview{display:flex;align-items:center;gap:7px;flex:0 0 100%;width:100%;box-sizing:border-box;padding:5px 0 7px;direction:rtl;order:2}
.reels-comment-gif-preview.hidden{display:none!important}
.reels-comment-gif-preview img{width:58px;height:45px;object-fit:cover;border-radius:9px;display:block}
.reels-comment-gif-preview button{width:27px;height:27px;border:0;border-radius:50%;background:rgba(0,0,0,.08);color:inherit;font-size:18px;line-height:1;cursor:pointer}
.reels-comment-gif-btn{width:42px;height:42px;min-width:42px;flex:0 0 42px;box-sizing:border-box;appearance:none;-webkit-appearance:none;border:1px solid var(--kr-line);border-radius:50%;background:var(--kr-soft);color:inherit;font:800 11px/1 inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;margin:0;writing-mode:horizontal-tb;text-orientation:mixed;order:4;touch-action:manipulation}
.reels-comment-gif-btn:focus-visible{outline:2px solid var(--p);outline-offset:2px}
#reels-comment-input{order:3}
#reels-comment-action-slot{order:5}
#reels-comment-form>textarea,#reels-comment-form>.reels-comment-gif-btn,#reels-comment-form>.reels-comment-action-slot{box-sizing:border-box}
@media (max-width:420px){.reels-comment-gif-results{grid-template-columns:repeat(3,1fr)}}
.reels-comment-gif{margin-top:7px;max-width:100%}
.reels-comment-gif img{display:block;width:auto;max-width:min(260px,72vw);max-height:260px;border-radius:12px;object-fit:contain}
.kr-sessions-page-title{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:2px 2px 10px;border-bottom:1px solid rgba(120,120,140,.12)}
.kr-sessions-page-title h3{margin:0;color:var(--p);font-size:16px}
.kr-sessions-page-title span{display:block;margin-top:4px;color:var(--sub);font-size:10px;font-weight:700}
.kr-section-icon{width:42px;height:42px;border-radius:15px;display:flex;align-items:center;justify-content:center;flex:0 0 42px;background:linear-gradient(145deg,rgba(255,42,64,.15),rgba(255,42,64,.04));color:var(--p);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.kr-section-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-sessions-panel{margin:0 0 14px;padding:14px;border:1px solid rgba(120,120,140,.12);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(248,248,251,.72));box-shadow:0 10px 30px rgba(0,0,0,.045)}
.kr-panel-head{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.kr-panel-head-icon{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--bg);color:var(--p);border:1px solid rgba(120,120,140,.11);flex:0 0 40px}
.kr-panel-head-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-panel-head h4{margin:0;font-size:13px;color:var(--text)}
.kr-panel-head span:not(.kr-panel-count){display:block;margin-top:3px;color:var(--sub);font-size:9px;font-weight:700}
.kr-panel-count{margin-right:auto;min-width:28px;height:28px;padding:0 8px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(255,42,64,.08);color:var(--p);font-size:11px;font-weight:900}
.kr-device-card{display:flex;gap:12px;padding:14px;margin:8px 0;background:var(--bg);border:1px solid rgba(120,120,140,.1);border-radius:18px;text-align:right}
.kr-device-card.is-current{border-color:rgba(255,42,64,.38);box-shadow:0 8px 24px rgba(255,42,64,.07)}
.kr-device-icon{width:46px;height:46px;border-radius:15px;display:flex;align-items:center;justify-content:center;flex:0 0 46px;background:linear-gradient(145deg,rgba(255,42,64,.14),rgba(255,42,64,.035));color:var(--p)}
.kr-device-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.kr-device-body{min-width:0;flex:1}
.kr-device-topline{display:flex;align-items:center;gap:7px;justify-content:space-between}
.kr-device-topline strong{font-size:13px;line-height:1.6;color:var(--text)}
.kr-current-badge{font-size:8px;font-weight:900;color:var(--p);padding:4px 7px;border-radius:8px;background:rgba(255,42,64,.09);white-space:nowrap}
.kr-device-meta{display:flex;align-items:center;gap:6px;margin-top:3px;color:var(--sub);font-size:9px;font-weight:700}
.kr-device-meta i{font-style:normal;opacity:.55}
.kr-device-details{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;margin-top:10px;color:var(--sub);font-size:9px}
.kr-device-details span{display:flex;align-items:center;gap:4px;min-width:0}
.kr-device-details svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.kr-device-details b{color:var(--text);font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-device-ip{grid-column:1/-1}
.kr-access-event{display:flex;gap:11px;padding:13px 12px;margin:8px 0;border-radius:17px;background:var(--bg);border:1px solid rgba(120,120,140,.1)}
.kr-event-icon{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:0 0 40px}
.kr-access-event-login .kr-event-icon{background:rgba(46,204,113,.11);color:#2eaa62}
.kr-access-event-logout .kr-event-icon{background:rgba(255,125,70,.11);color:#e06d3e}
.kr-event-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-event-body{min-width:0;flex:1}
.kr-event-title-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.kr-event-title-row strong{font-size:12px;color:var(--text)}
.kr-event-title-row span{font-size:9px;color:var(--sub);font-weight:700;white-space:nowrap}
.kr-event-device{margin-top:4px;font-size:10px;font-weight:800;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kr-event-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px;color:var(--sub);font-size:9px}
.kr-event-meta>span{display:inline-flex;align-items:center;gap:3px}
.kr-event-meta svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.kr-event-platform svg{color:var(--p)}
@media(max-width:480px){.kr-sessions-panel{padding:11px}
.kr-device-details{grid-template-columns:1fr}
.kr-device-ip{grid-column:auto}
.kr-event-title-row{align-items:flex-start;flex-direction:column;gap:2px}
.kr-panel-head{align-items:flex-start}
.kr-panel-count{margin-top:2px}}
.google-g-mark{font-family:Arial,sans-serif!important;font-size:29px!important;line-height:1!important;font-weight:800!important;color:#4285f4!important}
@media (max-width:900px){.google-g-mark{font-size:22px!important}}
html,body{background:#fff!important;}
body:not([data-theme="dark"]):not(.k-reels-mode){background:#fff!important;}
.kr-liquid-bg{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#fff;
  isolation:isolate;
}
.kr-liquid-bg::before,.kr-liquid-bg::after{
  content:"";
  position:absolute;
  width:clamp(220px,34vw,520px);
  height:clamp(220px,34vw,520px);
  border-radius:42% 58% 63% 37% / 48% 38% 62% 52%;
  background:
    radial-gradient(circle at 30% 26%,rgba(255,255,255,.72),transparent 22%),
    radial-gradient(circle at 68% 72%,rgba(255,44,52,.28),transparent 44%),
    linear-gradient(135deg,rgba(255,72,79,.42),rgba(224,25,35,.18) 58%,rgba(255,255,255,.16));
  border:1px solid rgba(255,255,255,.62);
  box-shadow:
    inset 12px 12px 28px rgba(255,255,255,.28),
    inset -18px -20px 34px rgba(164,18,28,.10),
    0 18px 60px rgba(226,30,40,.10);
  filter:blur(.15px);
  -webkit-backdrop-filter:blur(18px) saturate(135%);
  backdrop-filter:blur(18px) saturate(135%);
  opacity:.72;
  will-change:transform,border-radius;
}
.kr-liquid-bg::before{
  top:-12%;
  right:-7%;
  animation:krLiquidFloatA 16s ease-in-out infinite alternate;
}
.kr-liquid-bg::after{
  bottom:-18%;
  left:-9%;
  width:clamp(180px,29vw,430px);
  height:clamp(180px,29vw,430px);
  opacity:.52;
  animation:krLiquidFloatB 20s ease-in-out infinite alternate;
}
.kr-liquid-bg .kr-liquid-orb{
  position:absolute;
  width:clamp(130px,20vw,300px);
  height:clamp(130px,20vw,300px);
  border-radius:55% 45% 38% 62% / 46% 58% 42% 54%;
  background:
    radial-gradient(circle at 35% 25%,rgba(255,255,255,.62),transparent 23%),
    linear-gradient(140deg,rgba(255,51,60,.24),rgba(239,35,45,.10));
  border:1px solid rgba(255,255,255,.54);
  box-shadow:inset 8px 8px 20px rgba(255,255,255,.24),0 14px 45px rgba(226,30,40,.08);
  -webkit-backdrop-filter:blur(16px) saturate(135%);
  backdrop-filter:blur(16px) saturate(135%);
  animation:krLiquidOrb 13s ease-in-out infinite alternate;
}
.kr-liquid-bg .kr-liquid-orb:nth-child(1){top:28%;left:8%;}
.kr-liquid-bg .kr-liquid-orb:nth-child(2){top:48%;right:13%;width:clamp(90px,14vw,210px);height:clamp(90px,14vw,210px);animation-duration:17s;animation-delay:-4s;opacity:.48;}
@keyframes krLiquidFloatA{
  0%{transform:translate3d(0,0,0) rotate(-7deg) scale(1);border-radius:42% 58% 63% 37% / 48% 38% 62% 52%;}
  50%{transform:translate3d(-7vw,9vh,0) rotate(9deg) scale(1.08);border-radius:58% 42% 35% 65% / 40% 61% 39% 60%;}
  100%{transform:translate3d(-2vw,17vh,0) rotate(17deg) scale(.94);border-radius:35% 65% 54% 46% / 63% 42% 58% 37%;}
}
@keyframes krLiquidFloatB{
  0%{transform:translate3d(0,0,0) rotate(8deg) scale(.96);border-radius:58% 42% 48% 52% / 37% 59% 41% 63%;}
  50%{transform:translate3d(8vw,-7vh,0) rotate(-12deg) scale(1.08);border-radius:39% 61% 63% 37% / 55% 38% 62% 45%;}
  100%{transform:translate3d(16vw,-1vh,0) rotate(-20deg) scale(.92);border-radius:64% 36% 42% 58% / 45% 63% 37% 55%;}
}
@keyframes krLiquidOrb{
  0%{transform:translate3d(0,0,0) rotate(0deg) scale(1);}
  50%{transform:translate3d(7vw,-5vh,0) rotate(14deg) scale(1.08);}
  100%{transform:translate3d(-5vw,8vh,0) rotate(-11deg) scale(.94);}
}
@media (prefers-reduced-motion:reduce){.kr-liquid-bg::before,.kr-liquid-bg::after,.kr-liquid-bg .kr-liquid-orb{animation:none!important;}}
[data-theme="dark"] .kr-liquid-bg{display:none!important;}
body.k-reels-mode .kr-liquid-bg{display:none!important;}
.google-fallback-mark{
  font:700 28px/1 Arial,sans-serif!important;
  color:#4285f4!important;
}
.info-back-button{appearance:none;-webkit-appearance:none;background:transparent;border:0;font:inherit;text-align:right;line-height:1;padding:0 4px;min-height:32px;width:auto;}
.info-back-button:hover{opacity:.82;}
.info-back-button:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:6px;}
:root{
  --bg:#06070a;
  --card:#111318;
  --text:#f5f6f8;
  --sub:#9a9faa;
  --border:rgba(255,255,255,.08);
  --kr-soft:#0b0d12;
}
html,body{
  background:#06070a!important;
}
body:not(.k-reels-mode){
  background:
    radial-gradient(ellipse 520px 360px at 84% 8%,rgba(255,39,93,.20),transparent 68%),
    radial-gradient(ellipse 430px 330px at 10% 28%,rgba(255,47,66,.12),transparent 70%),
    radial-gradient(ellipse 620px 420px at 58% 100%,rgba(190,18,62,.10),transparent 72%),
    linear-gradient(140deg,#310914 0%,#110b12 34%,#090a0e 68%,#06070a 100%)!important;
  background-attachment:fixed!important;
  color:var(--text)!important;
}
body:not(.k-reels-mode)::before{
  content:"";
  position:fixed;
  width:420px;height:260px;
  right:-130px;top:72px;
  border-radius:50%;
  background:rgba(255,37,86,.14);
  filter:blur(70px);
  pointer-events:none;
  z-index:-1;
}
.header{
  background:rgba(9,10,14,.76)!important;
  border-bottom-color:rgba(255,255,255,.07)!important;
  box-shadow:0 8px 30px rgba(0,0,0,.16);
}
.nav-btn{
  background:rgba(18,20,26,.82)!important;
  border-color:rgba(255,255,255,.09)!important;
  color:#ff4261!important;
  box-shadow:0 5px 18px rgba(0,0,0,.20)!important;
}
.card,.cat-bar{
  background:rgba(17,19,24,.88)!important;
  color:var(--text)!important;
  border-color:rgba(255,255,255,.07)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.fab{
  background:linear-gradient(135deg,#ff304f,#ff1744)!important;
  box-shadow:0 10px 28px rgba(255,48,79,.28)!important;
}
.public-info-page h3,.info-hero h2{color:#fff!important}
.public-info-page p,.public-info-page li,.info-hero p{color:#b0b4bf!important}
.info-back{color:#ff4261!important}
.dropdown{
  background:rgba(20,21,27,.97)!important;
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.38)!important;
}
.dropdown div{color:#eee!important}
.dropdown div:hover{background:rgba(255,255,255,.06)!important;color:#ff4261!important}
#upload-status{background:transparent!important;color:var(--sub)!important;border:0!important;box-shadow:none!important;}
body.k-reels-mode,#reels-page,#reels-feed{background:#000!important}
body.kr-profile-open{background:#06070a!important}
@media(prefers-reduced-motion:reduce){body:not(.k-reels-mode){background-attachment:scroll!important}}
html,body{
  background:#06070a!important;
}
.kr-liquid-bg{
  display:none!important;
}
body:not(.k-reels-mode){
  background:
    radial-gradient(circle at 78% 8%,rgba(255,39,93,.48),transparent 30%),
    radial-gradient(circle at 12% 15%,rgba(255,47,66,.25),transparent 34%),
    linear-gradient(140deg,#310914 0%,#110b12 52%,#1b0610 100%)!important;
  background-attachment:fixed!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  color:#f7f7f8!important;
}
#app-content{
  background:transparent!important;
}
body:not(.k-reels-mode)>.container,body:not(.k-reels-mode) #app-content{
  background-color:transparent!important;
}
body.k-registration-setup-mode,body.kr-profile-open{
  background:
    radial-gradient(circle at 78% 8%,rgba(255,39,93,.48),transparent 30%),
    radial-gradient(circle at 12% 15%,rgba(255,47,66,.25),transparent 34%),
    linear-gradient(140deg,#310914 0%,#110b12 52%,#1b0610 100%)!important;
  background-attachment:fixed!important;
  background-size:cover!important;
}
body.k-reels-mode,#reels-page,#reels-feed{background:#000!important;}
@media(prefers-reduced-motion:reduce){body:not(.k-reels-mode),body.k-registration-setup-mode,body.kr-profile-open{background-attachment:scroll!important;}}
:root{
  --kr-v38-bg:#05060a;
  --kr-v38-panel:rgba(18,18,24,.78);
  --kr-v38-panel-2:rgba(12,13,18,.88);
  --kr-v38-line:rgba(255,255,255,.09);
  --kr-v38-muted:#8d909d;
  --kr-v38-text:#f5f5f7;
  --kr-v38-red:#ff2450;
  --kr-v38-pink:#ff0d65;
}
html,body{background:var(--kr-v38-bg)!important;color:var(--kr-v38-text)!important;}
body:not(.k-reels-mode){
  background:
    radial-gradient(ellipse 430px 330px at 98% 4%,rgba(255,20,72,.30),transparent 68%),
    radial-gradient(ellipse 360px 260px at 2% 72%,rgba(255,0,67,.16),transparent 72%),
    radial-gradient(ellipse 420px 300px at 82% 92%,rgba(255,10,75,.13),transparent 72%),
    linear-gradient(145deg,#05060a 0%,#07080d 52%,#09050b 100%)!important;
  background-attachment:fixed!important;
}
#app-content,.container,.krilz-feed,#feed-page{background:transparent!important;color:var(--kr-v38-text)!important;}
.header{
  position:fixed!important;top:0;left:0;right:0;z-index:1700;
  height:auto!important;min-height:0!important;padding:12px 14px 13px!important;
  background:rgba(5,6,10,.76)!important;border:0!important;
  box-shadow:0 12px 35px rgba(0,0,0,.25)!important;
  backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);
}
.kr-feed-header-inner{width:100%!important;max-width:1180px!important;height:auto!important;min-height:0!important;padding:0!important;margin:auto!important;display:flex!important;flex-direction:column!important;gap:11px!important;direction:ltr!important;}
.kr-header-topbar{width:100%;height:56px;display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:10px;direction:ltr;}
.kr-brand{justify-self:center!important;order:2!important;color:#fff!important;gap:0!important;padding:0!important;min-width:130px;height:50px;justify-content:center!important;}
.kr-brand-k{font-size:49px!important;line-height:.8!important;color:#ff244c!important;letter-spacing:-9px!important;filter:drop-shadow(0 0 13px rgba(255,31,76,.20));}
.kr-brand-text{font-size:25px!important;letter-spacing:-1.8px!important;margin-left:5px!important;color:#f7f7f8!important;}
.kr-notification-btn{order:1!important;width:48px!important;height:48px!important;border:1px solid var(--kr-v38-line)!important;border-radius:15px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 25px rgba(0,0,0,.16)!important;}
.kr-notification-btn svg{width:27px!important;height:27px!important;}
.kr-notification-btn span{top:-4px!important;right:-4px!important;background:var(--kr-v38-red)!important;color:#fff!important;border:0!important;box-shadow:0 0 0 3px #090a0e!important;}
.kr-header-actions{display:flex;align-items:center;gap:8px;order:3;}
.kr-head-action{position:relative;width:48px;height:48px;border:1px solid var(--kr-v38-line);border-radius:15px;background:rgba(255,255,255,.045);color:#e9e9ed;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 25px rgba(0,0,0,.16);}
.kr-head-action svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.kr-head-settings{background:rgba(255,255,255,.045);border-color:var(--kr-v38-line);}
.kr-head-badge{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--kr-v38-red);color:#fff;font:800 10px/20px Tahoma,Arial,sans-serif;text-align:center;box-shadow:0 0 0 3px #08090d;}
.kr-global-search{order:4!important;width:100%!important;height:50px!important;box-sizing:border-box;border-radius:18px!important;background:rgba(255,255,255,.055)!important;border:1px solid var(--kr-v38-line)!important;color:#f4f4f6!important;padding:0 17px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 30px rgba(0,0,0,.12)!important;}
.kr-global-search svg{width:25px!important;height:25px!important;color:#d6d8df!important;}
.kr-global-search input{color:#f5f5f7!important;font-size:14px!important;}
.kr-global-search input::placeholder{color:#8f929d!important;}
body:not(.k-chat-mode){padding-top:132px!important;padding-bottom:100px!important;}
.kr-feed-category-wrap{margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:13px 0 4px!important;}
.kr-feed-category-nav{width:100%!important;display:flex!important;gap:12px!important;padding:0 4px 14px!important;overflow-x:auto!important;scrollbar-width:none!important;}
.kr-feed-category-nav::-webkit-scrollbar{display:none!important;}
.kr-cat-item{flex:1 1 0!important;min-width:68px!important;max-width:120px!important;color:#8f929e!important;font-size:11px!important;font-weight:750!important;padding:0 3px 12px!important;gap:8px!important;}
.kr-cat-item:last-child{display:none!important;}
.kr-cat-icon{width:61px!important;height:61px!important;border-radius:21px!important;background:rgba(255,255,255,.035)!important;border:1px solid var(--kr-v38-line)!important;box-shadow:0 8px 28px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035)!important;color:var(--kr-v38-red)!important;}
.kr-cat-icon svg{width:29px!important;height:29px!important;}
.kr-cat-item.active{color:#fff!important;}
.kr-cat-item.active .kr-cat-icon{background:linear-gradient(145deg,rgba(255,35,77,.20),rgba(255,35,77,.05))!important;color:#ff3157!important;transform:none!important;box-shadow:0 0 25px rgba(255,30,78,.12),inset 0 0 18px rgba(255,30,78,.06)!important;}
.kr-cat-item.active:after{left:12%!important;right:12%!important;height:3px!important;background:linear-gradient(90deg,#ff3157,#ff0d66)!important;box-shadow:0 0 12px rgba(255,25,77,.7)!important;}
.kr-feed-stream{max-width:900px!important;}
.kr-feed-card{background:linear-gradient(145deg,rgba(18,19,24,.88),rgba(10,11,15,.92))!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:26px!important;padding:17px 16px 11px!important;box-shadow:0 20px 55px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04)!important;}
.kr-post-name{color:#f4f4f6!important;font-size:15px!important;}
.kr-post-meta{color:#858995!important;}
.kr-post-menu{color:#a5a8b2!important;}
.kr-post-menu:hover{background:rgba(255,255,255,.05)!important;}
.kr-avatar-ring{background:conic-gradient(#ff174f,#ff9d1b,#ff174f,#ff174f)!important;box-shadow:0 0 22px rgba(255,33,84,.16);}
.kr-avatar-ring>img,.kr-avatar-ring>span{background:#181a21!important;border-color:#0d0e13!important;color:#9ca0ad!important;}
.kr-post-description{color:#f3f3f5!important;}
.kr-post-tag{background:rgba(255,35,79,.09)!important;color:#ff526f!important;border:1px solid rgba(255,35,79,.12);}
.kr-media{border-radius:17px!important;margin-top:14px!important;box-shadow:0 12px 35px rgba(0,0,0,.28);}
.kr-post-actions{border-top-color:rgba(255,255,255,.08)!important;margin-top:15px!important;padding-top:8px!important;}
.kr-action{color:#8d919d!important;}
.kr-action:hover{background:rgba(255,255,255,.045)!important;}
.kr-action.liked{color:#ff3157!important;}
.kr-action.saved{color:#e8a84d!important;}
.kr-post-menu-box{background:#15161c!important;border-color:rgba(255,255,255,.09)!important;box-shadow:0 20px 50px rgba(0,0,0,.45)!important;}
.kr-post-menu-box button{background:#15161c!important;color:#eee!important;}
.kr-post-menu-box button:hover{background:rgba(255,255,255,.06)!important;}
.kr-bottom-nav{left:18px!important;right:18px!important;bottom:12px!important;height:76px!important;padding:5px 7px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:27px!important;background:rgba(15,16,22,.82)!important;box-shadow:0 18px 45px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,255,255,.05)!important;backdrop-filter:blur(22px) saturate(130%)!important;-webkit-backdrop-filter:blur(22px) saturate(130%)!important;}
.kr-bottom-nav button{color:#858a98!important;font-size:10px!important;gap:3px!important;}
.kr-bottom-nav button.active{color:#ff3157!important;}
.kr-bottom-nav button.active .kr-nav-icon{filter:drop-shadow(0 0 7px rgba(255,35,82,.35));}
.kr-nav-icon{width:32px!important;height:32px!important;}
.kr-nav-icon svg{width:25px!important;height:25px!important;}
.kr-create-nav{transform:translateY(-15px)!important;}
.kr-create-plus{width:67px!important;height:67px!important;border-radius:22px!important;border:5px solid #0d0e13!important;background:linear-gradient(145deg,#ff3150,#ff0f48)!important;box-shadow:0 0 0 2px rgba(255,255,255,.9),0 13px 38px rgba(255,22,73,.36),inset 0 1px 0 rgba(255,255,255,.22)!important;font-size:43px!important;}
.card,.cat-bar,.modal-card,.kr-settings-shell,.kr-messages-shell,.kr-notifications-shell,.public-info-page,.info-hero{
  background:linear-gradient(145deg,rgba(18,19,24,.88),rgba(10,11,15,.92))!important;color:#f4f4f6!important;border-color:rgba(255,255,255,.09)!important;box-shadow:0 18px 48px rgba(0,0,0,.28)!important;
}
input,textarea,select{background:rgba(255,255,255,.055)!important;color:#f5f5f7!important;border-color:rgba(255,255,255,.10)!important;}
input::placeholder,textarea::placeholder{color:#858995!important;}
@media(max-width:760px){body:not(.k-chat-mode){padding-top:calc(132px + env(safe-area-inset-top))!important;padding-bottom:calc(102px + env(safe-area-inset-bottom))!important;}
.header{padding-top:calc(9px + env(safe-area-inset-top))!important;}
.kr-header-topbar{height:54px;grid-template-columns:48px 1fr auto;gap:7px;}
.kr-head-action,.kr-notification-btn{width:46px!important;height:46px!important;border-radius:14px!important;}
.kr-header-actions{gap:6px;}
.kr-head-action:nth-child(3){display:flex;}
.kr-brand{min-width:112px;height:46px;}
.kr-brand-k{font-size:44px!important;}
.kr-brand-text{font-size:22px!important;}
.kr-global-search{height:48px!important;border-radius:18px!important;}
.kr-feed-category-nav{gap:8px!important;padding-inline:2px!important;}
.kr-cat-item{min-width:67px!important;}
.kr-cat-icon{width:58px!important;height:58px!important;border-radius:20px!important;}
.kr-feed-card{margin:0 0 16px!important;}
.kr-bottom-nav{left:17px!important;right:17px!important;bottom:10px!important;height:76px!important;border-radius:26px!important;}}
@media(min-width:761px){.header{padding:14px 24px!important;}
.kr-feed-header-inner{max-width:1180px!important;}
.kr-header-topbar{height:58px;}
.kr-global-search{max-width:620px!important;align-self:center;}
body:not(.k-chat-mode){padding-top:137px!important;}}
@media(prefers-reduced-motion:reduce){body:not(.k-reels-mode){background-attachment:scroll!important}}
:root{
  --kr-v39-bg:#05060a;
  --kr-v39-grad:radial-gradient(ellipse 430px 330px at 98% 4%,rgba(255,20,72,.30),transparent 68%),radial-gradient(ellipse 360px 260px at 2% 72%,rgba(255,0,67,.16),transparent 72%),radial-gradient(ellipse 420px 300px at 82% 92%,rgba(255,10,75,.13),transparent 72%),linear-gradient(145deg,#05060a 0%,#07080d 52%,#09050b 100%);
}
html,body{
  background:var(--kr-v39-bg)!important;
  color:#f5f5f7!important;
  min-height:100%;
}
body:not(.k-reels-mode){
  background:var(--kr-v39-grad)!important;
  background-attachment:fixed!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
body:not(.k-reels-mode)>.container,body:not(.k-reels-mode) #app-content,body:not(.k-reels-mode) #feed-page,body:not(.k-reels-mode) .krilz-feed,body:not(.k-reels-mode) #main-feed,body:not(.k-reels-mode) .kr-feed-stream{
  background:transparent!important;
  background-color:transparent!important;
}
body:not(.k-reels-mode) #app-content{
  min-height:100vh!important;
}
body:not(.k-reels-mode) #feed-page{
  min-height:calc(100vh - 132px)!important;
}
body:not(.k-reels-mode) .kr-feed-category-wrap{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
body:not(.k-reels-mode) .kr-feed-category-nav{
  background:transparent!important;
}
body:not(.k-reels-mode) .kr-bottom-nav{
  background:rgba(9,10,15,.84)!important;
  border-color:rgba(255,255,255,.10)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
body:not(.k-reels-mode) .kr-feed-card{
  background:linear-gradient(145deg,rgba(18,19,24,.88),rgba(10,11,15,.92))!important;
}
@media(max-width:760px){body:not(.k-reels-mode){
    background-attachment:scroll!important;
    background-size:auto 100%!important;
    background-repeat:repeat-y!important;
  }
body:not(.k-reels-mode) #feed-page{min-height:calc(100vh - 132px)!important;}}
.kr-header-topbar{position:relative;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;}
.kr-brand{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;order:0!important;z-index:2!important;}
.kr-header-actions{margin-left:auto!important;order:3!important;}
@media(max-width:760px){.kr-header-topbar{height:54px!important;display:flex!important;justify-content:flex-end!important;}
.kr-brand{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;min-width:112px!important;}
.kr-header-actions{margin-left:auto!important;}}
:root{
  --bg:#000000!important;
  --card:#111216!important;
  --text:#f5f5f7!important;
  --sub:#9a9da8!important;
  --border:rgba(255,255,255,.08)!important;
  --kr-soft:#090a0d!important;
  --kr-v45-bg:#000000;
}
html,body{
  background:#000000!important;
  background-color:#000000!important;
  color:#f5f5f7!important;
  min-height:100%!important;
}
body:not(.k-reels-mode),body:not(.k-reels-mode)::before{
  background:#000000!important;
  background-image:none!important;
}
body:not(.k-reels-mode)::before{display:none!important;}
#app-shell,#app-content,#app-content.container,.container,#feed-page,.krilz-feed,#settings-page,#search-page,#gallery-page,#notifications-page,#messages-page,#profile-edit-page,#security-page,#sessions-page,#saved-reels-page,#appearance-page,#about-page,#privacy-page,#terms-page{
  background:#000000!important;
  background-color:#000000!important;
}
body:not(.k-reels-mode) > .container,body:not(.k-reels-mode) #app-shell,body:not(.k-reels-mode) #app-content,body:not(.k-reels-mode) #app-content > [data-route-root="true"]{
  background:#000000!important;
  background-color:#000000!important;
}
.kr-feed-category-wrap,.kr-feed-category-nav,.kr-feed-stream,#main-feed{
  background:#000000!important;
  background-color:#000000!important;
}
#settings-page .kr-settings-top,#settings-page .kr-settings-section-label{
  background:transparent!important;
}
body.k-reels-mode,body.k-reels-mode #app-shell,body.k-reels-mode #app-content,#reels-page,#reels-feed{
  background:#000000!important;
  background-color:#000000!important;
}
.kr-liquid-bg{display:none!important;background:#000!important;}
html,body,body > *,#app-shell,#app-content,#feed-page,#reels-page,#reels-feed,.container,.krilz-feed,.kr-feed-stream,#settings-page,#settings-overlay,#account-page,#profile-page,#privacy-page,#rules-page,#about-page,.public-info-page,.public-info-page *,.kr-page,.kr-page-shell,.kr-settings-page,.kr-settings-shell,.kr-messages-page,.kr-messages-shell,.kr-header,.header,.main,main,section,article{
  background-color:#000000 !important;
}
html,body{
  background:#000000 !important;
  background-image:none !important;
  color-scheme:dark !important;
}
body:not(.k-reels-mode),body.k-reels-mode,body:not(.k-reels-mode) #app-content,body:not(.k-reels-mode) #feed-page,body:not(.k-reels-mode) .container,body:not(.k-reels-mode) .krilz-feed,body:not(.k-reels-mode) .kr-feed-stream,body.kr-profile-open,#settings-page,#settings-overlay,#account-page,#profile-page{
  background:#000000 !important;
  background-image:none !important;
}
body [style*="background:#fff"],body [style*="background: #fff"],body [style*="background:#ffffff"],body [style*="background: #ffffff"],body [style*="background-color:#fff"],body [style*="background-color: #fff"],body [style*="background-color:#ffffff"],body [style*="background-color: #ffffff"]{
  background:#000000 !important;
  background-image:none !important;
}
.card,.cat-bar,.kr-feed-card,.kr-feed-category-wrap,.kr-bottom-nav,.dropdown,.kr-settings-card,.kr-settings-group,.kr-profile-card,.kr-messages-shell,.kr-message-panel,.kr-saved-messages-card,.profile-settings-dropdown,.profile-settings-dropdown.kr-settings-menu,.krilz-startup-card{
  background:#000000 !important;
  background-image:none !important;
}
img,video,canvas,iframe,.kr-media img,.kr-media video,.reels-feed img,.reels-feed video{
  background-color:#000000 !important;
}
body:not(.k-reels-mode) .kr-empty,body:not(.k-reels-mode) .kr-empty-state,body:not(.k-reels-mode) .kr-end-message,body:not(.k-reels-mode) .feed-end-message{
  color:#f2f2f5 !important;
  background:#000000 !important;
}
.kr-liquid-bg,body::before,body::after,#app-shell::before,#app-shell::after,#app-content::before,#app-content::after{
  background-image:none !important;
}
html,body{
  background:#000000!important;
  background-color:#000000!important;
  background-image:none!important;
  color-scheme:dark!important;
}
html{min-height:100%!important;}
body{
  min-height:100dvh!important;
  margin:0!important;
  overflow-x:hidden!important;
}
#app-shell{
  min-height:100dvh!important;
  width:100%!important;
  background:#000000!important;
  background-color:#000000!important;
  background-image:none!important;
}
#app-content,#app-content.container{
  min-height:calc(100dvh - 1px)!important;
  background:#000000!important;
  background-color:#000000!important;
  background-image:none!important;
}
#app-content > [data-route-root="true"]{
  background:#000000!important;
  background-color:#000000!important;
  background-image:none!important;
}
#settings-page,#feed-page,#notifications-page,#messages-page,#about-page,#privacy-page,#terms-page,#appearance-page,#search-page,#gallery-page,#profile-edit-page,#security-page,#sessions-page,#saved-reels-page{
  min-height:calc(100dvh - 1px)!important;
  background:#000000!important;
  background-color:#000000!important;
  background-image:none!important;
}
.krilz-startup-backdrop{background:rgba(0,0,0,.86)!important;}
.krilz-startup-card{background:#0b0c10!important;color:#f5f5f7!important;border-color:rgba(255,255,255,.08)!important;}
html,body,#app-content{
  background:#000!important;
  background-color:#000!important;
}
.kr-header-topbar{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;min-height:54px!important;}
.kr-brand{
  position:absolute!important;
  left:14px!important;
  right:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:4!important;
  min-width:auto!important;
  height:50px!important;
  padding:0!important;
  margin:0!important;
  justify-content:flex-start!important;
  gap:1px!important;
  direction:ltr!important;
}
.kr-brand-k{
  color:#ff2450!important;
  background:linear-gradient(135deg,#ff1744 0%,#ff416c 55%,#ff7a45 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  filter:drop-shadow(0 0 10px rgba(255,36,80,.28))!important;
  font-weight:1000!important;
}
.kr-brand-text{
  color:#f4f5f7!important;
  -webkit-text-fill-color:#f4f5f7!important;
}
@media(max-width:760px){.kr-header-topbar{min-height:54px!important;height:54px!important;justify-content:flex-end!important;}
.kr-brand{left:12px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;min-width:auto!important;height:46px!important;}
.kr-brand-k{font-size:44px!important;}
.kr-brand-text{font-size:22px!important;margin-left:3px!important;}
.kr-header-actions{margin-left:auto!important;}}
.kr-head-badge{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ff2450;color:#fff;font-size:11px;font-weight:800;align-items:center;justify-content:center;border:2px solid #000;box-sizing:border-box;line-height:1;}
:root{
  --kr-glass-bg:linear-gradient(145deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.045) 42%,rgba(255,255,255,.07) 100%);
  --kr-glass-blur:blur(26px) saturate(185%) contrast(1.04);
  --kr-glass-edge:inset 0 1px 0 rgba(255,255,255,.34),inset 0 -1px 0 rgba(255,255,255,.06),inset 1px 0 0 rgba(255,255,255,.10),inset -1px 0 0 rgba(255,255,255,.10);
  --kr-glass-glow:inset 0 0 22px rgba(255,255,255,.045);
}
.header{
  background:linear-gradient(180deg,rgba(26,28,36,.62) 0%,rgba(10,11,15,.50) 100%)!important;
  backdrop-filter:var(--kr-glass-blur)!important;-webkit-backdrop-filter:var(--kr-glass-blur)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 14px 40px rgba(0,0,0,.45)!important;
}
.header::after{content:"";position:absolute;left:8%;right:8%;bottom:-1px;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);}
.kr-head-action,.kr-notification-btn{
  position:relative;overflow:visible;
  background:var(--kr-glass-bg)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  backdrop-filter:var(--kr-glass-blur);-webkit-backdrop-filter:var(--kr-glass-blur);
  box-shadow:var(--kr-glass-edge),var(--kr-glass-glow),0 8px 22px rgba(0,0,0,.38)!important;
  transition:transform .22s cubic-bezier(.3,1.4,.5,1),box-shadow .22s ease,background .22s ease;
}
.kr-head-action::before,.kr-notification-btn::before{
  content:"";position:absolute;inset:1px 1px 52% 1px;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0));opacity:.7;
}
.kr-head-action:active,.kr-notification-btn:active{transform:scale(.92);}
.kr-head-action svg,.kr-notification-btn svg{position:relative;z-index:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));}
.kr-head-badge{
  z-index:3;top:-7px!important;right:-7px!important;
  background:linear-gradient(145deg,#ff4468,#ff1347)!important;border:1.5px solid rgba(255,255,255,.55)!important;
  box-shadow:0 4px 12px rgba(255,19,71,.55),inset 0 1px 0 rgba(255,255,255,.45)!important;
}
.kr-global-search{
  background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035))!important;
  border:1px solid rgba(255,255,255,.14)!important;
  backdrop-filter:var(--kr-glass-blur);-webkit-backdrop-filter:var(--kr-glass-blur);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 8px 18px rgba(0,0,0,.28),0 6px 18px rgba(0,0,0,.25)!important;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.kr-global-search:focus-within{border-color:rgba(255,49,87,.55)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 8px 18px rgba(0,0,0,.28),0 0 0 3px rgba(255,49,87,.16),0 6px 22px rgba(0,0,0,.3)!important;}
.kr-bottom-nav{
  background:linear-gradient(160deg,rgba(40,42,54,.58) 0%,rgba(14,15,21,.52) 55%,rgba(30,32,42,.56) 100%)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  backdrop-filter:blur(30px) saturate(190%) contrast(1.05)!important;-webkit-backdrop-filter:blur(30px) saturate(190%) contrast(1.05)!important;
  box-shadow:var(--kr-glass-edge),inset 0 0 30px rgba(255,255,255,.04),0 22px 55px rgba(0,0,0,.6),0 2px 0 rgba(0,0,0,.4)!important;
  overflow:visible;
}
.kr-bottom-nav::before{content:"";position:absolute;inset:1px 14px auto 14px;height:42%;border-radius:26px 26px 60% 60%/26px 26px 24px 24px;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0));}
.kr-bottom-nav button{position:relative;z-index:1;transition:transform .22s cubic-bezier(.3,1.4,.5,1),color .2s ease;}
.kr-bottom-nav button:active{transform:scale(.9);}
.kr-bottom-nav button.active .kr-nav-icon{filter:drop-shadow(0 0 9px rgba(255,35,82,.55));}
.kr-create-plus{
  background:linear-gradient(150deg,#ff5a78 0%,#ff1f52 48%,#d9083c 100%)!important;
  border:4px solid rgba(8,9,13,.9)!important;
  box-shadow:0 0 0 1.5px rgba(255,255,255,.75),inset 0 2px 0 rgba(255,255,255,.55),inset 0 -6px 12px rgba(120,0,25,.45),0 14px 34px rgba(255,22,73,.42)!important;
}
.card,.cat-bar{
  background:linear-gradient(150deg,rgba(255,255,255,.085) 0%,rgba(255,255,255,.03) 45%,rgba(255,255,255,.05) 100%)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 0 24px rgba(255,255,255,.02),0 12px 34px rgba(0,0,0,.45)!important;
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.header{background:rgba(10,11,15,.95)!important;}
.kr-bottom-nav{background:rgba(16,17,23,.96)!important;}
.card,.cat-bar{background:rgba(18,20,26,.96)!important;}}
@media(prefers-reduced-motion:reduce){.kr-head-action,.kr-notification-btn,.kr-bottom-nav button{transition:none!important;}}
html{background:#05060a!important;background-color:#05060a!important;background-image:none!important;}
body,#app-shell,#app-content,#app-content.container,#app-content > [data-route-root="true"],#settings-page,#feed-page,#notifications-page,#messages-page,#about-page,#privacy-page,#terms-page,#appearance-page,#search-page,#gallery-page,#profile-edit-page,#security-page,#sessions-page,#saved-reels-page{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
}
html::before{
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    radial-gradient(70% 45% at 12% 0%,rgba(255,36,80,.30) 0%,rgba(255,36,80,0) 70%),
    radial-gradient(65% 42% at 100% 28%,rgba(112,64,255,.26) 0%,rgba(112,64,255,0) 70%),
    radial-gradient(75% 48% at 0% 72%,rgba(24,120,255,.20) 0%,rgba(24,120,255,0) 72%),
    radial-gradient(70% 45% at 92% 100%,rgba(255,110,60,.22) 0%,rgba(255,110,60,0) 70%),
    linear-gradient(180deg,#0a0b12 0%,#06070c 55%,#08060b 100%);
}
html::after{
  content:"";position:fixed;inset:-25%;z-index:-1;pointer-events:none;will-change:transform;
  background:
    radial-gradient(circle at 30% 30%,rgba(255,255,255,.07) 0,rgba(255,255,255,0) 22%),
    radial-gradient(circle at 72% 62%,rgba(255,60,100,.10) 0,rgba(255,60,100,0) 24%),
    radial-gradient(circle at 50% 85%,rgba(120,90,255,.10) 0,rgba(120,90,255,0) 26%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><circle cx='1.2' cy='1.2' r='1' fill='white' fill-opacity='.07'/></svg>");
  background-size:auto,auto,auto,28px 28px;
  -webkit-mask-image:radial-gradient(ellipse at center,#000 35%,rgba(0,0,0,.55) 100%);
  mask-image:radial-gradient(ellipse at center,#000 35%,rgba(0,0,0,.55) 100%);
  animation:krBgDrift 38s ease-in-out infinite alternate;
}
@keyframes krBgDrift{from{transform:translate3d(-2.5%,-1.5%,0) scale(1);}to{transform:translate3d(2.5%,2%,0) scale(1.06);}}
@media(prefers-reduced-motion:reduce){html::after{animation:none!important;}}
body.k-reels-mode,body.k-reels-mode #app-content{background:#000!important;}
:root{
  --text:#f8f9fb!important;
  --sub:#c6cad4!important;
  --kr-readable:#f8f9fb;
  --kr-readable-soft:#c6cad4;
}
body,#app-content{color:var(--kr-readable)!important;}
.kr-post-meta,.kr-post-tag,.kr-profile-redesign small,.kr-link-site,.kr-cat-item,.kr-settings-brand small,.info-hero p,.public-info-page p,.public-info-page li,[class*="subtitle"],[class*="muted"],[class*="hint"],[class*="meta"]{
  color:var(--kr-readable-soft)!important;-webkit-text-fill-color:var(--kr-readable-soft)!important;
}
.kr-post-name,.kr-post-description,.card h1,.card h2,.card h3,.card h4,.public-info-page h1,.public-info-page h2,.public-info-page h3,.info-hero h2,label{
  color:var(--kr-readable)!important;-webkit-text-fill-color:var(--kr-readable)!important;
}
input,textarea,select{color:var(--kr-readable)!important;-webkit-text-fill-color:var(--kr-readable)!important;caret-color:#ff3157;}
input::placeholder,textarea::placeholder{color:#a9aebb!important;-webkit-text-fill-color:#a9aebb!important;opacity:1!important;}
.header,.kr-bottom-nav,.card,.kr-global-search{text-shadow:0 1px 2px rgba(0,0,0,.55);}
.kr-bottom-nav button{color:#b8bdc9!important;}
.kr-bottom-nav button.active{color:#ff5a78!important;}
.kr-head-action,.kr-notification-btn{color:#f8f9fb!important;}
.kr-global-search svg{color:#e3e6ee!important;}
.kr-brand-k,.kr-settings-brand .k-logo-letter,.k-logo-letter,.logo-k{
  background:linear-gradient(135deg,#ff5a78 0%,#ff2450 52%,#ff8a4c 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:#ff3157!important;
  filter:drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 2px 10px rgba(255,36,80,.5))!important;
}
.kr-brand-text,.kr-site-logo,.krilz-startup-brand{
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.7),0 0 14px rgba(255,255,255,.18)!important;
}
a:not([class]){color:#ff7a93;}
.kru-overlay{position:fixed;inset:0;z-index:2600;align-items:stretch;justify-content:center;background:rgba(3,4,8,.72);backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%);}
.kru-sheet{position:relative;display:flex;flex-direction:column;width:100%;max-width:560px;height:100dvh;background:linear-gradient(180deg,rgba(18,19,27,.94),rgba(8,9,13,.97));animation:kruIn .32s cubic-bezier(.2,.9,.3,1);color:#f8f9fb;direction:rtl;}
@keyframes kruIn{from{transform:translateY(28px);opacity:0}to{transform:none;opacity:1}}
.kru-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;border-bottom:1px solid rgba(255,255,255,.08);}
.kru-title{font-size:16px;font-weight:900;letter-spacing:.2px;}
.kru-icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.04));color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.kru-icon-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;}
.kru-publish{min-width:84px;height:40px;border:0;border-radius:14px;padding:0 18px;font:inherit;font-weight:900;font-size:14px;color:#fff;cursor:pointer;background:linear-gradient(150deg,#ff5a78,#ff1f52 55%,#d9083c);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 8px 22px rgba(255,22,73,.4);}
.kru-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 14px 20px;display:flex;flex-direction:column;gap:12px;-webkit-overflow-scrolling:touch;}
.kru-stage{position:relative;width:min(100%,300px);aspect-ratio:9/16;max-height:52dvh;margin:0 auto;border-radius:26px;overflow:hidden;background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 18px 50px rgba(0,0,0,.55);}
.kru-picker{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;text-align:center;}
.kru-picker-icon{width:78px;height:78px;border-radius:26px;display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#ff5a78,#ff1f52);box-shadow:inset 0 2px 0 rgba(255,255,255,.5),0 14px 34px rgba(255,22,73,.45);}
.kru-picker-icon svg{width:38px;height:38px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.kru-picker-title{font-size:16px;font-weight:900;}
.kru-picker-sub{font-size:12px;color:#c6cad4;line-height:1.7;}
.kru-picker-actions{display:flex;gap:10px;margin-top:6px;}
.kru-pick-btn{display:flex;align-items:center;gap:7px;height:44px;padding:0 16px;border-radius:15px;font-size:13px;font-weight:800;color:#fff;cursor:pointer;border:1px solid rgba(255,255,255,.18);background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.3);}
.kru-pick-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.kru-pick-main{background:linear-gradient(150deg,#ff5a78,#ff1f52);border-color:rgba(255,255,255,.4);}
.kru-stage.has-media .kru-picker{display:none;}
.kru-preview.post-media-preview{position:absolute;inset:0;margin:0;border-radius:0;box-shadow:none;min-height:0;background:#000;}
.kru-preview.post-media-preview img,.kru-preview.post-media-preview video{width:100%;height:100%;max-height:none;object-fit:cover;}
.kru-preview .post-media-preview-close{top:10px;left:10px;width:36px;height:36px;font-size:22px;background:rgba(0,0,0,.55);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.25);}
.kru-card{background:linear-gradient(150deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.10);border-radius:20px;padding:12px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.14);}
.kru-label{font-size:12px;font-weight:850;color:#c6cad4;margin:0 2px 8px;}
.kru-caption,.kru-input{width:100%;box-sizing:border-box;border:0;outline:0;background:transparent;color:#f8f9fb;font:inherit;font-size:14px;line-height:1.8;resize:none;}
.kru-input{border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.28);border-radius:14px;padding:11px 13px;font-size:13px;}
.kru-input:focus{border-color:rgba(255,49,87,.6);box-shadow:0 0 0 3px rgba(255,49,87,.16);}
.kru-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:6px;}
.kru-chip-btn{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#fff;border-radius:12px;padding:6px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;}
.kru-count{font-size:11px;color:#a9aebb;}
.kru-more summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;font-weight:850;}
.kru-more summary::-webkit-details-marker{display:none;}
.kru-more-sub{font-size:11px;font-weight:700;color:#a9aebb;}
.kru-more[open] summary{margin-bottom:10px;}
.kru-bottom{padding:10px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(8,9,13,.2),rgba(8,9,13,.95));}
.kru-submit{width:100%;height:54px;border:0;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:9px;font:inherit;font-size:16px;font-weight:900;color:#fff;cursor:pointer;background:linear-gradient(150deg,#ff5a78,#ff1f52 55%,#d9083c);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),0 12px 30px rgba(255,22,73,.4);}
.kru-submit svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.kru-submit:active,.kru-publish:active{transform:scale(.97);}
#post-form .cat-chip{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12);}
#post-form .cat-chip.active{border-color:transparent;}
#upload-status{z-index:20!important;}
@media(min-width:700px){.kru-sheet{height:min(900px,96dvh);margin:auto;border-radius:30px;border:1px solid rgba(255,255,255,.12);overflow:hidden;}}
html::before{
  background:
    radial-gradient(55% 38% at 100% 52%,rgba(255,22,64,.34) 0%,rgba(255,22,64,0) 72%),
    radial-gradient(60% 34% at 0% 100%,rgba(255,22,64,.28) 0%,rgba(255,22,64,0) 72%),
    radial-gradient(70% 30% at 50% 0%,rgba(255,36,80,.14) 0%,rgba(255,36,80,0) 70%),
    linear-gradient(180deg,#0b0a10 0%,#07070b 60%,#0a0709 100%)!important;
}
html::after{
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 800' preserveAspectRatio='none'><g fill='none' stroke='%23ff2450' stroke-opacity='.45'><path d='M0 640 Q60 700 150 800' stroke-width='1.4'/><path d='M400 560 Q330 600 250 700' stroke-width='1'/><path d='M400 600 Q340 650 280 760' stroke-width='.8' stroke-opacity='.3'/><path d='M400 640 Q350 690 320 800' stroke-width='.8' stroke-opacity='.25'/></g></svg>") center/100% 100% no-repeat,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><circle cx='1.2' cy='1.2' r='1' fill='white' fill-opacity='.05'/></svg>")!important;
  background-size:100% 100%,28px 28px!important;
  inset:0!important;animation:none!important;
}
.kr-header-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;direction:ltr!important;min-height:58px!important;gap:8px;}
.kr-header-topbar .kr-head-bell{order:0;}
.kr-header-actions{order:2;display:flex!important;gap:9px!important;margin-left:auto!important;direction:ltr;}
.kr-brand{left:50%!important;right:auto!important;transform:translate(-50%,-50%)!important;top:50%!important;}
.kr-brand-k{font-style:italic!important;display:inline-block;transform:skewX(-8deg);font-size:46px!important;line-height:1;}
.kr-brand-text{font-size:25px!important;font-weight:900!important;letter-spacing:-.5px;margin-left:2px!important;}
.kr-head-settings svg{width:24px;height:24px;}
.kr-head-bell .kr-bell-dot{font-size:0!important;min-width:11px!important;width:11px;height:11px;padding:0!important;top:-3px!important;right:-3px!important;border-radius:50%;}
.kr-head-actions .kr-head-action,.kr-head-action{width:46px!important;height:46px!important;border-radius:15px!important;}
.kr-feed-category-nav{justify-content:space-between!important;gap:6px!important;direction:rtl!important;}
.kr-cat-icon{border-radius:24px!important;background:linear-gradient(150deg,rgba(255,255,255,.09),rgba(255,255,255,.025))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 28px rgba(0,0,0,.4)!important;color:#ff3d63!important;}
.kr-cat-item{flex:1 1 0;min-width:0!important;font-weight:800!important;}
.kr-cat-item.active .kr-cat-icon{background:linear-gradient(150deg,rgba(255,40,84,.34),rgba(255,40,84,.08))!important;border-color:rgba(255,60,98,.55)!important;box-shadow:0 0 28px rgba(255,30,78,.35),inset 0 1px 0 rgba(255,255,255,.3)!important;}
.feed-load-end{display:flex!important;flex-direction:column;align-items:center;gap:6px;padding:34px 12px 130px!important;opacity:1!important;}
.feed-load-end .feed-end-icon{width:74px;height:74px;display:grid;place-items:center;color:#ff2f5c;filter:drop-shadow(0 0 14px rgba(255,36,80,.7));margin-bottom:6px;}
.feed-load-end .feed-end-icon svg{width:64px;height:64px;}
.feed-load-end b{font-size:16px;font-weight:800;color:#e9ebf1;}
.feed-load-end small{font-size:13px;color:#a9aebb;}
.kr-feed-card,.kr-feed-card.card{border-radius:28px!important;}
.kr-head-bell,.kr-notification-btn{display:none!important;}
.kr-header-topbar{justify-content:flex-end!important;position:relative!important;}
.kr-brand{left:12px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;justify-content:flex-start!important;z-index:4!important;}
.kr-brand,.kr-brand *{mix-blend-mode:normal!important;}
.kr-brand-k{background:linear-gradient(135deg,#ff5a78 0%,#ff2450 52%,#ff8a4c 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;}
.kr-brand-text{color:#fff!important;-webkit-text-fill-color:#fff!important;}
@media(max-width:760px){.kr-brand{left:10px!important;}}
.kr-feed-card,.kr-feed-card.card{overflow:visible!important;}
.kr-feed-card:has(.kr-post-menu-box[style*="block"]){z-index:2300!important;position:relative!important;}
.kr-post-menu-box{z-index:2400!important;max-width:calc(100vw - 32px);}
.dropdown,.kr-dropdown,[class*="dropdown-menu"]{z-index:2400!important;}
#profile-settings-menu,.kr-profile-settings{z-index:3100!important;}
.kr-share-picker,#post-share-picker{z-index:121000!important;}
.reels-more-menu,.reels-comment-menu{z-index:200100!important;}
.reel-action-modal{z-index:200000!important;}
.card:has(.kr-post-menu-box[style*="block"]),.kr-profile-redesign:has([aria-hidden="false"]){position:relative;z-index:2300;}
#dm-extras-picker,.dm-extras-picker{z-index:2147483300!important;}
#dm-floating-menu{z-index:2147483300!important;}
#dm-reaction-popover{z-index:2147483200!important;}
#dm-action-sheet,#dm-thread-menu{z-index:2147483100!important;}
#dm-report-sheet{z-index:2147483150!important;}
#dm-forward-picker{z-index:2147483250!important;}
#follow-list-overlay{z-index:2147483100!important;}
#telegram-sync-overlay{z-index:2147483100!important;}
#permission-consent-modal,#video-onboarding-modal{z-index:2147483400!important;}
#fs-overlay{z-index:2147483100!important;}
#reels-comments-sheet{z-index:119000!important;}
#dm-gif-panel,#reels-comment-gif-picker{z-index:auto;}
.kr-share-picker,#post-share-picker{z-index:2147483100!important;}
.reel-action-modal{z-index:2147483100!important;}
.dm-extras-picker.hidden,#dm-floating-menu.hidden,#dm-reaction-popover.hidden{display:none!important;}
html,body{overflow-x:hidden;max-width:100vw;}
#app-content{padding-bottom:calc(132px + env(safe-area-inset-bottom))!important;}
.kr-global-search input,.kr-global-search input:focus,.kr-global-search input:-webkit-autofill{background:transparent!important;background-color:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;}
.kr-global-search{align-items:center;overflow:hidden;}
.kr-bottom-nav::before{inset:1px 22px auto 22px!important;height:1px!important;border-radius:1px!important;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent)!important;}
.kr-bottom-nav{left:12px!important;right:12px!important;width:auto!important;max-width:560px;margin:0 auto;}
.kr-bottom-nav button{min-width:0;font-size:12px!important;gap:4px;white-space:nowrap;}
.kr-bottom-nav button svg{width:24px;height:24px;}
.kr-feed-card{padding:16px 16px 6px!important;margin:0 0 16px!important;max-width:100%;}
.kr-post-head{align-items:center;gap:12px;}
.kr-avatar-ring{flex:0 0 auto;width:52px!important;height:52px!important;}
.kr-avatar-ring>img,.kr-avatar-ring>span{width:100%;height:100%;object-fit:cover;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.kr-avatar-ring svg{width:24px;height:24px;}
.kr-post-user{flex:1 1 auto;min-width:0;}
.kr-post-name{font-size:16px;font-weight:900;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.kr-post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;font-size:12px!important;line-height:1.6;direction:rtl;}
.kr-post-meta>span{display:inline-flex;align-items:center;gap:4px;max-width:100%;}
.kr-post-meta>span:first-child{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.kr-post-meta svg{width:14px;height:14px;}
.kr-post-menu{width:36px;height:36px;display:flex;align-items:center;justify-content:center;}
.kr-post-description{font-size:15px;line-height:1.9;word-break:break-word;overflow-wrap:anywhere;}
.kr-post-media img,.kr-post-media video,.k-photo img,.k-player video{max-width:100%;border-radius:18px;}
.kr-post-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px;direction:rtl;}
.kr-action{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:6px 2px!important;font-size:12px!important;font-weight:800;line-height:1.2;white-space:nowrap;}
.kr-action svg{width:22px!important;height:22px!important;flex:0 0 auto;}
.kr-action span{font-size:12px!important;font-weight:800;min-height:15px;display:block;}
.kr-feed-card .kr-post-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.kr-cat-icon{width:62px!important;height:62px!important;display:flex;align-items:center;justify-content:center;}
.kr-cat-icon svg{width:28px;height:28px;}
.kr-feed-category-nav{overflow-x:auto;scrollbar-width:none;padding:4px 2px 8px;}
.kr-feed-category-nav::-webkit-scrollbar{display:none;}
.kr-header-topbar{padding-inline:2px;}
.kr-header-actions{flex-shrink:0;}
.kr-brand{max-width:42vw;}
@media(max-width:380px){.kr-head-action{width:42px!important;height:42px!important;}
.kr-brand-k{font-size:40px!important;}
.kr-brand-text{font-size:22px!important;}
.kr-action{font-size:11px!important;}
.kr-action span{font-size:11px!important;}}
body.kr-comments-open{overflow:hidden!important;}
#reels-comments-sheet{background:rgba(2,3,7,.62)!important;backdrop-filter:blur(14px) saturate(150%)!important;-webkit-backdrop-filter:blur(14px) saturate(150%)!important;overscroll-behavior:contain;}
#reels-comments-panel{
  background:linear-gradient(180deg,rgba(26,28,38,.96),rgba(10,11,16,.98))!important;
  border:1px solid rgba(255,255,255,.12);border-bottom:0;border-radius:28px 28px 0 0!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 -20px 60px rgba(0,0,0,.6)!important;
  color:#f8f9fb;animation:krCmtIn .28s cubic-bezier(.2,.9,.3,1);
}
@keyframes krCmtIn{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
#reels-comments-head{position:relative;border-bottom:1px solid rgba(255,255,255,.09)!important;padding:18px 16px 12px!important;}
#reels-comments-head::before{content:"";position:absolute;top:7px;left:50%;width:42px;height:4px;margin-left:-21px;border-radius:4px;background:rgba(255,255,255,.28);}
#reels-comments-head strong{font-size:16px;font-weight:900;}
#reels-comments-head .nav-btn{width:36px;height:36px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;}
#reels-comments-list{padding:6px 14px 14px!important;}
.reels-comment-item{padding:12px 2px!important;border-bottom:1px solid rgba(255,255,255,.05);}
.reels-comment-item:last-child{border-bottom:0;}
.reels-comment-item.reply{margin-right:36px!important;border-bottom:0;}
.reels-comment-item.reply .reels-comment-item.reply{margin-right:0!important;}
.reels-comment-replies{border-right:2px solid rgba(255,255,255,.08);padding-right:8px;margin-right:2px;}
.reels-comment-avatar{background:linear-gradient(145deg,#2a2d3a,#161821)!important;border:1px solid rgba(255,255,255,.14);}
.reels-comment-name{font-size:13px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.reels-comment-time{font-size:11px!important;color:#a9aebb!important;-webkit-text-fill-color:#a9aebb!important;direction:ltr;unicode-bidi:plaintext;}
.reels-comment-text{font-size:14px!important;line-height:1.75!important;color:#eceef3!important;-webkit-text-fill-color:#eceef3!important;white-space:pre-wrap;word-break:break-word;}
.reels-comment-actions{gap:6px!important;color:#b8bdc9!important;}
.reels-comment-action,.reels-comment-view-replies{min-height:32px;padding:4px 10px!important;border-radius:10px!important;font-size:12px!important;color:#b8bdc9!important;-webkit-text-fill-color:#b8bdc9!important;}
.reels-comment-action:active,.reels-comment-view-replies:active{background:rgba(255,255,255,.08)!important;}
.reels-comment-action.liked{color:#ff4d6d!important;-webkit-text-fill-color:#ff4d6d!important;}
.reels-comment-view-replies{color:#ff7a93!important;-webkit-text-fill-color:#ff7a93!important;font-weight:800!important;}
.reels-comment-more-btn{width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:#c6cad4!important;font-size:18px;}
.reels-comment-menu{background:linear-gradient(150deg,rgba(40,42,54,.98),rgba(18,19,26,.99))!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:16px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 18px 44px rgba(0,0,0,.6)!important;padding:5px!important;}
.reels-comment-menu button{color:#f2f4f8!important;font-size:13px!important;padding:11px 12px!important;}
.reels-comment-menu button:hover,.reels-comment-menu button:active{background:rgba(255,255,255,.09)!important;}
.reels-comment-gif img{border:1px solid rgba(255,255,255,.1);}
.reels-comment-audio audio{max-width:100%;}
#reels-replying-bar{border-top:1px solid rgba(255,255,255,.08)!important;background:rgba(255,49,87,.10);color:#ffd5dd!important;font-size:12px!important;padding:9px 14px!important;}
#reels-comment-form{background:rgba(8,9,13,.96)!important;border-top:1px solid rgba(255,255,255,.10)!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;align-items:center!important;}
#reels-comments-panel{padding-bottom:0!important;}
#reels-comment-input{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;color:#f8f9fb!important;-webkit-text-fill-color:#f8f9fb!important;font-size:14px!important;line-height:1.5;padding:11px 16px!important;box-shadow:inset 0 2px 6px rgba(0,0,0,.3);}
#reels-comment-input::placeholder{color:#a9aebb!important;-webkit-text-fill-color:#a9aebb!important;}
#reels-comment-input:focus{border-color:rgba(255,49,87,.65)!important;box-shadow:inset 0 2px 6px rgba(0,0,0,.3),0 0 0 3px rgba(255,49,87,.18)!important;}
#reels-comment-mic,#reels-comment-send{background:linear-gradient(150deg,#ff5a78,#ff1f52 60%,#d9083c)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 20px rgba(255,22,73,.35)!important;}
#reels-comment-send{width:auto!important;min-width:64px;padding:0 14px!important;font-size:13px!important;}
.reels-comment-action-slot{width:auto!important;flex:0 0 auto!important;min-width:44px;}
.reels-comment-gif-btn{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;font-size:11px!important;font-weight:900;}
#reels-comment-gif-picker{background:rgba(14,15,21,.98)!important;border-top:1px solid rgba(255,255,255,.1)!important;border-radius:16px;}
.reels-comment-gif-search-row input{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:13px!important;}
.reels-comment-gif-search-row button{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important;}
.reels-comment-gif-item{background:rgba(255,255,255,.08)!important;}
.reels-comment-gif-state,.reels-comment-giphy-attribution{color:#a9aebb!important;font-size:12px!important;}
.reels-comment-gif-preview button{background:rgba(255,255,255,.14)!important;color:#fff!important;}
#reels-comment-status{background:rgba(30,10,14,.96)!important;border:1px solid rgba(255,49,87,.4)!important;color:#ffd5dd!important;font-size:12px!important;}
#reels-comment-recording-label,#reels-comment-recording-time{color:#f2f4f8!important;}
@media(min-width:700px){#reels-comments-sheet{align-items:center;}
#reels-comments-panel{border-radius:28px!important;border-bottom:1px solid rgba(255,255,255,.12);max-height:min(86dvh,760px);}}
.reels-comment-gif-item img,.dm-gif-item img{width:100%;height:100%;object-fit:cover;border-radius:14px;display:block;}
.reels-comment-gif-item,.dm-gif-item{aspect-ratio:1/1;overflow:hidden;border:0;padding:0;}
.kr-sticker-tabs{grid-column:1/-1;display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:none;position:sticky;top:0;z-index:2;background:inherit;}
.kr-sticker-tabs::-webkit-scrollbar{display:none;}
.kr-sticker-tabs button{flex:0 0 auto;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#e9ebf1;border-radius:12px;padding:6px 14px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;}
.kr-sticker-tabs button.active{background:linear-gradient(150deg,#ff5a78,#ff1f52);border-color:transparent;color:#fff;}
.reels-comment-gif-item img,.dm-gif-item img{object-fit:contain!important;background:rgba(255,255,255,.04);}
.kr-sticker-warn{grid-column:1/-1;padding:10px 12px;border-radius:12px;background:rgba(255,49,87,.12);border:1px solid rgba(255,49,87,.35);color:#ffd5dd;font-size:12px;line-height:1.8;}
.kr-cat-item{flex:0 0 auto!important;min-width:70px!important;}
.kr-feed-category-nav{justify-content:flex-start!important;}
.kru-sheet{background:linear-gradient(180deg,rgba(14,15,22,.97),rgba(7,8,12,.99))!important;}
.kru-top{display:flex;align-items:center;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top)) 14px 12px;border-bottom:0;}
.kru-title{font-size:18px;font-weight:900;}
.kru-publish{height:46px;min-width:110px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;}
.kru-publish svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.kru-cancel{height:44px;padding:0 16px;border-radius:15px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#c6cad4;display:flex;align-items:center;gap:8px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;}
.kru-cancel svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;}
.kru-body{gap:14px;padding:6px 14px 18px;}
.kru-card{border-radius:24px;padding:14px 14px 12px;background:linear-gradient(150deg,rgba(255,255,255,.07),rgba(255,255,255,.025));}
.kru-label-ic{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:900;color:#f8f9fb;margin:0 2px 12px;}
.kru-label-ic svg{width:22px;height:22px;fill:none;stroke:#ff3d63;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.kru-compose-row{display:flex;gap:12px;align-items:stretch;}
.kru-compose-row .kru-stage{flex:0 0 96px;width:96px;max-height:none;aspect-ratio:9/16;border-radius:18px;margin:0;}
.kru-compose-row .kru-picker{gap:5px;padding:8px;cursor:pointer;}
.kru-compose-row .kru-picker-icon{width:38px;height:38px;border-radius:13px;}
.kru-compose-row .kru-picker-icon svg{width:20px;height:20px;}
.kru-compose-row .kru-picker-title{font-size:12px;}
.kru-compose-row .kru-picker-sub{font-size:10px;line-height:1.5;}
.kru-compose-row .kru-caption{flex:1;min-height:140px;background:rgba(0,0,0,.30);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:12px 14px;box-shadow:inset 0 2px 8px rgba(0,0,0,.3);}
.kru-compose-row .kru-caption:focus{border-color:rgba(255,49,87,.6);box-shadow:inset 0 2px 8px rgba(0,0,0,.3),0 0 0 3px rgba(255,49,87,.16);}
.kru-card-foot{margin-top:10px;gap:8px;}
.kru-tools{display:flex;flex-wrap:wrap;gap:6px;}
.kru-chip-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#f2f4f8;border-radius:14px;padding:8px 13px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;}
.kru-chip-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.kru-hint{font-size:12px;color:#a9aebb;margin:8px 4px 0;}
.kru-emoji-bar{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px;}
.kru-emoji-bar button{border:0;background:rgba(255,255,255,.07);border-radius:12px;width:40px;height:40px;font-size:22px;cursor:pointer;}
.kru-chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.kru-red{color:#f8f9fb;}
.kru-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.kru-cat{display:flex;align-items:center;gap:8px;height:48px;padding:0 11px;border-radius:24px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:#e9ebf1;font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-width:0;text-align:right;transition:transform .15s;}
.kru-cat svg{flex:0 0 auto;width:22px;height:22px;fill:none;stroke:var(--cc,#ff3d63);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.kru-cat span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.kru-cat:active{transform:scale(.96);}
.kru-cat.active{background:linear-gradient(150deg,#ff5a78,#ff1f52 60%,#d9083c);border-color:transparent;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 20px rgba(255,22,73,.35);}
.kru-cat.active svg{stroke:#fff;}
.kru-cat-add{border-style:dashed;color:#c6cad4;}
.kru-switch-row{display:flex;align-items:center;gap:12px;padding:11px 2px;border-top:1px solid rgba(255,255,255,.07);}
.kru-switch-row:first-of-type{border-top:0;}
.kru-switch-row>div{flex:1;min-width:0;}
.kru-switch-row b{display:block;font-size:14px;font-weight:800;}
.kru-switch-row small{display:block;font-size:11.5px;color:#a9aebb;margin-top:2px;line-height:1.6;}
.kru-switch{flex:0 0 auto;position:relative;width:52px;height:30px;border-radius:15px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);cursor:pointer;padding:0;transition:background .2s;}
.kru-switch i{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.4);transition:transform .2s;}
.kru-switch.on{background:linear-gradient(150deg,#ff5a78,#ff1f52);border-color:transparent;}
.kru-switch.on i{transform:translateX(-22px);}
.kru-bottom .kru-submit{height:56px;border-radius:20px;}
@media(max-width:380px){.kru-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.kru-compose-row .kru-stage{flex-basis:82px;width:82px;}}
.kr-head-fullscreen.is-fullscreen{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.24);}
.krilz-css-fullscreen body{margin:0!important;padding:0!important;overflow:auto!important;}
.krilz-css-fullscreen .header{top:0!important;}
.krilz-css-fullscreen .kr-bottom-nav{bottom:0!important;}
.k-home-video-player{margin-top:15px!important;border-radius:18px!important;background:#000!important;overflow:hidden!important;position:relative!important;isolation:isolate;box-shadow:0 8px 28px rgba(0,0,0,.28);}
.k-home-video-player .k-home-video{display:block!important;width:100%!important;max-height:min(70vh,620px)!important;aspect-ratio:16/9;object-fit:contain!important;background:#000;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;}
.k-home-video-player .k-home-video-center{z-index:8!important;width:58px!important;height:58px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.k-home-video-player .k-home-video-center svg{width:25px!important;height:25px!important;}
.k-home-video-player .k-home-video-center.show{opacity:1!important;}
.k-home-video-player .k-home-video-mute,.k-home-video-player .k-home-video-fullscreen{top:12px!important;width:36px!important;height:36px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(0,0,0,.58)!important;color:#fff!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:12!important;}
.k-home-video-player .k-home-video-mute{right:12px!important;}
.k-home-video-player .k-home-video-fullscreen{left:12px!important;right:auto!important;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;}
.k-home-video-player .k-home-video-fullscreen svg{width:15px;height:15px;}
.k-home-video-bottom{position:absolute;left:0;right:0;bottom:0;z-index:11;display:flex;align-items:center;gap:8px;padding:20px 11px 8px;background:linear-gradient(transparent,rgba(0,0,0,.72));direction:ltr;opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;pointer-events:none;}
.k-home-video-player:hover .k-home-video-bottom,.k-home-video-player:focus-within .k-home-video-bottom,.k-home-video-player:active .k-home-video-bottom{opacity:1;transform:none;}
.k-home-video-play{width:30px;height:30px;border:0;border-radius:50%;background:rgba(0,0,0,.58);color:#fff;display:grid;place-items:center;padding:0;cursor:pointer;flex:0 0 auto;pointer-events:auto;}
.k-home-video-play svg{width:15px;height:15px;}
.k-home-video-progress{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;height:22px!important;display:flex!important;align-items:center!important;flex:1;cursor:pointer;pointer-events:auto;}
.k-home-video-progress .k-progress-track{height:3px!important;border-radius:99px;background:rgba(255,255,255,.38)!important;overflow:hidden;}
.k-home-video-progress .k-progress-fill{height:100%!important;right:auto!important;left:0!important;width:0;background:#fff!important;border-radius:99px;}
.k-home-video-time{font-size:10px;font-weight:700;color:#fff;white-space:nowrap;min-width:62px;text-align:right;text-shadow:0 1px 3px rgba(0,0,0,.7);}
.k-home-video-error{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:800;}
.k-home-video-error.hidden{display:none!important;}
.k-home-video-player video:fullscreen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;background:#000;}
.k-home-video-player video:-webkit-full-screen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;background:#000;}
@media(max-width:600px){.k-home-video-player{margin-top:12px!important;border-radius:14px!important;}
.k-home-video-player .k-home-video{max-height:62vh!important;aspect-ratio:16/10;}
.k-home-video-bottom{opacity:1;transform:none;padding-bottom:7px;}
.k-home-video-time{font-size:9px;min-width:58px;}
.k-home-video-mute,.k-home-video-fullscreen{width:34px!important;height:34px!important;}}
.k-home-video-player{touch-action:pan-y;}
.k-home-video-player .k-home-video{touch-action:pan-y;}
.k-home-video-player:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#000!important;}
.k-home-video-player:fullscreen .k-home-video{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;}
.k-home-video-player:-webkit-full-screen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;background:#000!important;}
.k-home-video-player:-webkit-full-screen .k-home-video{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;}
.k-home-video-skip{position:absolute;top:50%;z-index:14;transform:translateY(-50%) scale(.86);width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.52);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:16px;font-weight:900;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .18s ease;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);}
.k-home-video-skip-left{left:18%;}
.k-home-video-skip-right{right:18%;}
.k-home-video-skip.show{opacity:1;transform:translateY(-50%) scale(1);}
@media(max-width:600px){.k-home-video-skip{width:62px;height:62px;font-size:14px;}
.k-home-video-skip-left{left:17%;}
.k-home-video-skip-right{right:17%;}}
.k-home-video-exit-fullscreen{position:absolute!important;top:14px!important;left:14px!important;width:40px!important;height:40px!important;padding:0!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;background:rgba(0,0,0,.62)!important;color:#fff!important;display:none!important;align-items:center!important;justify-content:center!important;z-index:40!important;box-shadow:0 4px 16px rgba(0,0,0,.35);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);cursor:pointer;}
.k-home-video-exit-fullscreen.show{display:flex!important;}
.k-home-video-exit-fullscreen svg{width:19px!important;height:19px!important;}
.k-home-video-player:fullscreen .k-home-video-exit-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-exit-fullscreen{display:flex!important;}
.k-home-video-player:fullscreen .k-home-video-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-fullscreen{display:none!important;}
.k-home-video-player:fullscreen .k-home-video-mute,.k-home-video-player:-webkit-full-screen .k-home-video-mute{top:14px!important;right:14px!important;z-index:40!important;}
.k-home-video-player:fullscreen .k-home-video-bottom,.k-home-video-player:-webkit-full-screen .k-home-video-bottom{left:0!important;right:0!important;bottom:0!important;padding:28px 16px 16px!important;gap:10px!important;z-index:40!important;background:linear-gradient(transparent,rgba(0,0,0,.82))!important;opacity:1!important;transform:none!important;pointer-events:auto!important;}
.k-home-video-player:fullscreen .k-home-video-play,.k-home-video-player:-webkit-full-screen .k-home-video-play{width:34px!important;height:34px!important;}
.k-home-video-player:fullscreen .k-home-video-progress,.k-home-video-player:-webkit-full-screen .k-home-video-progress{height:28px!important;min-width:0!important;}
.k-home-video-player:fullscreen .k-home-video-time,.k-home-video-player:-webkit-full-screen .k-home-video-time{min-width:72px!important;font-size:12px!important;text-align:right!important;}
.k-home-video-player:fullscreen .k-home-video-skip,.k-home-video-player:-webkit-full-screen .k-home-video-skip{z-index:35!important;}
@media(max-width:600px){.k-home-video-exit-fullscreen{top:12px!important;left:12px!important;width:38px!important;height:38px!important;}
.k-home-video-player:fullscreen .k-home-video-bottom,.k-home-video-player:-webkit-full-screen .k-home-video-bottom{padding:30px 13px 14px!important;gap:8px!important;}
.k-home-video-player:fullscreen .k-home-video-time,.k-home-video-player:-webkit-full-screen .k-home-video-time{min-width:68px!important;font-size:11px!important;}}
.k-home-video-player .k-home-video-fullscreen{left:12px!important;right:auto!important;top:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.k-home-video-player .k-home-video-mute{right:12px!important;left:auto!important;top:12px!important;}
.k-home-video-player:fullscreen .k-home-video-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-fullscreen{display:none!important;}
.k-home-video-player:fullscreen .k-home-video-exit-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-exit-fullscreen{left:12px!important;right:auto!important;top:14px!important;}
@media(max-width:600px){.k-home-video-player .k-home-video-fullscreen{left:12px!important;right:auto!important;top:12px!important;}
.k-home-video-player .k-home-video-mute{right:12px!important;left:auto!important;top:12px!important;}
.k-home-video-player:fullscreen .k-home-video-exit-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-exit-fullscreen{left:12px!important;right:auto!important;top:12px!important;}}
.k-home-video-player .k-home-video-top-controls{position:absolute!important;top:12px!important;left:12px!important;right:12px!important;z-index:60!important;display:flex!important;align-items:center!important;justify-content:space-between!important;direction:ltr!important;pointer-events:none!important;}
.k-home-video-player .k-home-video-top-controls>button{position:relative!important;inset:auto!important;margin:0!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;background:rgba(0,0,0,.62)!important;color:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.30)!important;backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;pointer-events:auto!important;cursor:pointer!important;z-index:61!important;}
.k-home-video-player .k-home-video-top-controls .k-home-video-fullscreen{order:1!important;left:auto!important;right:auto!important;top:auto!important;}
.k-home-video-player .k-home-video-top-controls .k-home-video-mute{order:2!important;left:auto!important;right:auto!important;top:auto!important;}
.k-home-video-player .k-home-video-top-controls svg{width:16px!important;height:16px!important;}
.k-home-video-player:fullscreen .k-home-video-top-controls,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls{top:14px!important;left:14px!important;right:14px!important;z-index:100!important;}
.k-home-video-player:fullscreen .k-home-video-top-controls>button,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls>button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;z-index:101!important;}
.k-home-video-player:fullscreen .k-home-video-top-controls .k-home-video-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls .k-home-video-fullscreen{display:flex!important;visibility:visible!important;opacity:1!important;}
@media(max-width:600px){.k-home-video-player .k-home-video-top-controls{top:12px!important;left:12px!important;right:12px!important}
.k-home-video-player .k-home-video-top-controls>button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
.k-home-video-player:fullscreen .k-home-video-top-controls,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls{top:12px!important;left:12px!important;right:12px!important}}
.kr-search-page{padding:18px 14px 120px;direction:rtl}
.kr-search-shell{max-width:900px;margin:0 auto}
.kr-search-heading{text-align:right;margin:4px 4px 14px}
.kr-search-title-row{display:flex;align-items:center;justify-content:flex-start;gap:9px}
.kr-search-title-row svg{width:22px;height:22px;fill:none;stroke:var(--p);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.kr-search-heading h2{margin:0;font-size:21px;color:var(--text);font-weight:900}
.kr-search-heading p{margin:7px 0 0;color:var(--sub);font-size:12px;line-height:1.8}
.kr-search-box{position:relative;display:flex;align-items:center;gap:8px;padding:5px 12px;border:1px solid rgba(255,255,255,.13);background:rgba(24,25,31,.82);border-radius:20px;box-shadow:0 12px 35px rgba(0,0,0,.18)}
.kr-search-box>svg{width:21px;height:21px;fill:none;stroke:var(--sub);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.kr-search-box input{width:100%;height:46px;border:0!important;outline:0!important;background:transparent!important;color:var(--text)!important;font-size:14px!important;margin:0!important;padding:0 4px!important;direction:rtl}
.kr-search-box input::placeholder{color:var(--sub)}
#kr-search-clear{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:var(--sub);font-size:23px;line-height:1;cursor:pointer;flex:none}
.kr-search-modes{display:flex;gap:8px;margin:11px 0 4px;overflow:auto;scrollbar-width:none}
.kr-search-modes::-webkit-scrollbar{display:none}
.kr-search-mode{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035);color:var(--sub);border-radius:999px;padding:8px 14px;font-size:11.5px;font-weight:800;cursor:pointer;white-space:nowrap}
.kr-search-mode.active{background:rgba(255,35,91,.13);border-color:rgba(255,35,91,.42);color:#ff4b78;box-shadow:0 5px 18px rgba(255,35,91,.10)}
.kr-search-meta{min-height:20px;color:var(--sub);font-size:11px;padding:6px 4px;text-align:right}
.kr-search-results{min-height:30px}
.kr-search-results .kr-feed-card{margin-top:12px}
.kr-search-loading,.kr-search-empty{text-align:center;color:var(--sub);font-size:13px;line-height:2;padding:38px 14px;border:1px dashed rgba(255,255,255,.10);border-radius:20px;background:rgba(255,255,255,.02)}
.kr-search-empty small{font-size:11px;color:var(--sub)}
.kr-search-history{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.kr-search-history-row{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);color:var(--text);border-radius:15px;padding:12px 14px;cursor:pointer;text-align:right;font-size:12px}
.kr-search-history-row span:last-child{color:var(--sub);font-size:15px}
@media(max-width:600px){.kr-search-page{padding:13px 10px 112px}
.kr-search-heading h2{font-size:19px}
.kr-search-box{border-radius:18px}
.kr-search-box input{height:44px;font-size:13.5px!important}}
:root{
  --kr-motion-ease:cubic-bezier(.22,.61,.36,1);
  --kr-motion-fast:.32s;
  --kr-motion-main:1.62s;
  --kr-motion-blur:4px;
}
#nav,#kr-bottom-nav{
  transition:transform var(--kr-motion-main) var(--kr-motion-ease),
             opacity var(--kr-motion-main) var(--kr-motion-ease),
             visibility var(--kr-motion-main) var(--kr-motion-ease)!important;
  will-change:transform,opacity,filter;
  filter:none;
}
body.kr-nav-scroll-hidden #nav{
  transition-delay:0ms!important;
}
body.kr-nav-scroll-hidden #kr-bottom-nav{
  transition-delay:180ms!important;
}
body:not(.kr-nav-scroll-hidden) #nav,body:not(.kr-nav-scroll-hidden) #kr-bottom-nav{
  transition-delay:0ms!important;
}
body.kr-nav-scroll-hidden #nav,body.kr-nav-scroll-hidden #kr-bottom-nav{
  background-color:color-mix(in srgb, currentColor 0%, transparent)!important;
}
@supports not (background-color:color-mix(in srgb, black, transparent)){body.kr-nav-scroll-hidden #nav,body.kr-nav-scroll-hidden #kr-bottom-nav{
    background-color:transparent!important;
  }}
body.kr-nav-scroll-hidden #nav{
  transform:translate3d(0,-118%,0)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.kr-nav-scroll-hidden #kr-bottom-nav{
  transform:translate3d(0,calc(100% + 34px),0)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.container > div.page-animated.page-enter-forward,.container > div.page-animated.page-enter-back{
  animation-duration:var(--kr-motion-main)!important;
  animation-timing-function:var(--kr-motion-ease)!important;
}
@keyframes krPageInForwardSoft{
  from{opacity:0;transform:translate3d(16px,5px,0) scale(.996);}
  to{opacity:1;transform:translate3d(0,0,0) scale(1);}
}
@keyframes krPageInBackSoft{
  from{opacity:0;transform:translate3d(-16px,5px,0) scale(.996);}
  to{opacity:1;transform:translate3d(0,0,0) scale(1);}
}
.container > div.page-animated.page-enter-forward{animation-name:krPageInForwardSoft!important;}
.container > div.page-animated.page-enter-back{animation-name:krPageInBackSoft!important;}
.kr-soft-dissolve{
  transition:opacity var(--kr-motion-main) var(--kr-motion-ease),
             transform var(--kr-motion-main) var(--kr-motion-ease),
             filter var(--kr-motion-main) var(--kr-motion-ease),
             visibility var(--kr-motion-main) var(--kr-motion-ease)!important;
  will-change:opacity,transform,filter;
}
.kr-soft-dissolve.is-hidden,.kr-soft-dissolve[aria-hidden="true"]{
  opacity:0!important;
  transform:translate3d(0,6px,0) scale(.985)!important;
  pointer-events:none!important;
}
@media(prefers-reduced-motion:reduce){#nav,#kr-bottom-nav,.kr-soft-dissolve{transition:none!important;animation:none!important;filter:none!important;}
.container > div.page-animated.page-enter-forward,.container > div.page-animated.page-enter-back{animation:none!important;filter:none!important;}}
.kr-video-buffer-loader{position:absolute!important;inset:0!important;z-index:25!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important;background:rgba(0,0,0,.46)!important;opacity:0!important;visibility:hidden!important;transition:opacity .18s ease,visibility .18s ease!important;}
.kr-video-buffer-loader.is-visible{opacity:1!important;visibility:visible!important;}
.kr-video-buffer-loader-card{min-width:132px!important;padding:14px 18px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;background:rgba(8,8,10,.78)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;box-shadow:0 10px 30px rgba(0,0,0,.32)!important;}
.kr-video-buffer-loader-card b{font-size:12px!important;font-weight:800!important;line-height:1.4!important;}
.kr-video-buffer-loader-card small{font-size:11px!important;font-weight:700!important;opacity:.78!important;direction:ltr!important;}
.kr-video-buffer-spinner{width:30px!important;height:30px!important;border-radius:50%!important;border:3px solid rgba(255,255,255,.22)!important;border-top-color:#fff!important;border-right-color:rgba(255,59,48,.95)!important;animation:krHomeVideoBufferSpin .72s linear infinite!important;}
@keyframes krHomeVideoBufferSpin{to{transform:rotate(360deg)}}
@media(max-width:600px){.kr-video-buffer-loader-card{min-width:124px!important;padding:12px 16px!important;border-radius:16px!important}
.kr-video-buffer-spinner{width:27px!important;height:27px!important;border-width:2.5px!important}}
@media(prefers-reduced-motion:reduce){.kr-video-buffer-spinner{animation-duration:1.5s!important}
.kr-video-buffer-loader{transition:none!important}}
.k-home-video-player{margin-top:15px!important;border-radius:18px!important;background:#000!important;overflow:hidden!important;position:relative!important;isolation:isolate;box-shadow:0 8px 28px rgba(0,0,0,.28);}
.k-home-video-player .k-home-video{display:block!important;width:100%!important;max-height:min(70vh,620px)!important;aspect-ratio:16/9;object-fit:contain!important;background:#000;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;}
.k-home-video-player .k-home-video-center{z-index:8!important;width:58px!important;height:58px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.k-home-video-player .k-home-video-center svg{width:25px!important;height:25px!important;}
.k-home-video-player .k-home-video-center.show{opacity:1!important;}
.k-home-video-player .k-home-video-mute,.k-home-video-player .k-home-video-fullscreen{top:12px!important;width:36px!important;height:36px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(0,0,0,.58)!important;color:#fff!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:12!important;}
.k-home-video-player .k-home-video-mute{right:12px!important;}
.k-home-video-player .k-home-video-fullscreen{left:12px!important;right:auto!important;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;}
.k-home-video-player .k-home-video-fullscreen svg{width:15px;height:15px;}
.k-home-video-bottom{position:absolute;left:0;right:0;bottom:0;z-index:11;display:flex;align-items:center;gap:8px;padding:20px 11px 8px;background:linear-gradient(transparent,rgba(0,0,0,.72));direction:ltr;opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;pointer-events:none;}
.k-home-video-player:hover .k-home-video-bottom,.k-home-video-player:focus-within .k-home-video-bottom,.k-home-video-player:active .k-home-video-bottom{opacity:1;transform:none;}
.k-home-video-play{width:30px;height:30px;border:0;border-radius:50%;background:rgba(0,0,0,.58);color:#fff;display:grid;place-items:center;padding:0;cursor:pointer;flex:0 0 auto;pointer-events:auto;}
.k-home-video-play svg{width:15px;height:15px;}
.k-home-video-progress{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;height:22px!important;display:flex!important;align-items:center!important;flex:1;cursor:pointer;pointer-events:auto;}
.k-home-video-progress .k-progress-track{height:3px!important;border-radius:99px;background:rgba(255,255,255,.38)!important;overflow:hidden;}
.k-home-video-progress .k-progress-fill{height:100%!important;right:auto!important;left:0!important;width:0;background:#fff!important;border-radius:99px;}
.k-home-video-time{font-size:10px;font-weight:700;color:#fff;white-space:nowrap;min-width:62px;text-align:right;text-shadow:0 1px 3px rgba(0,0,0,.7);}
.k-home-video-error{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:800;}
.k-home-video-error.hidden{display:none!important;}
.k-home-video-player video:fullscreen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;background:#000;}
.k-home-video-player video:-webkit-full-screen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;background:#000;}
@media(max-width:600px){.k-home-video-player{margin-top:12px!important;border-radius:14px!important;}
.k-home-video-player .k-home-video{max-height:62vh!important;aspect-ratio:16/10;}
.k-home-video-bottom{opacity:1;transform:none;padding-bottom:7px;}
.k-home-video-time{font-size:9px;min-width:58px;}
.k-home-video-mute,.k-home-video-fullscreen{width:34px!important;height:34px!important;}}
.k-home-video-player{touch-action:pan-y;}
.k-home-video-player .k-home-video{touch-action:pan-y;}
.k-home-video-player:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#000!important;}
.k-home-video-player:fullscreen .k-home-video{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;}
.k-home-video-player:-webkit-full-screen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;background:#000!important;}
.k-home-video-player:-webkit-full-screen .k-home-video{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;}
.k-home-video-skip{position:absolute;top:50%;z-index:14;transform:translateY(-50%) scale(.86);width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.52);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:16px;font-weight:900;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .18s ease;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);}
.k-home-video-skip-left{left:18%;}
.k-home-video-skip-right{right:18%;}
.k-home-video-skip.show{opacity:1;transform:translateY(-50%) scale(1);}
@media(max-width:600px){.k-home-video-skip{width:62px;height:62px;font-size:14px;}
.k-home-video-skip-left{left:17%;}
.k-home-video-skip-right{right:17%;}}
.k-home-video-exit-fullscreen{position:absolute!important;top:14px!important;left:14px!important;width:40px!important;height:40px!important;padding:0!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;background:rgba(0,0,0,.62)!important;color:#fff!important;display:none!important;align-items:center!important;justify-content:center!important;z-index:40!important;box-shadow:0 4px 16px rgba(0,0,0,.35);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);cursor:pointer;}
.k-home-video-exit-fullscreen.show{display:flex!important;}
.k-home-video-exit-fullscreen svg{width:19px!important;height:19px!important;}
.k-home-video-player:fullscreen .k-home-video-exit-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-exit-fullscreen{display:flex!important;}
.k-home-video-player:fullscreen .k-home-video-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-fullscreen{display:none!important;}
.k-home-video-player:fullscreen .k-home-video-mute,.k-home-video-player:-webkit-full-screen .k-home-video-mute{top:14px!important;right:14px!important;z-index:40!important;}
.k-home-video-player:fullscreen .k-home-video-bottom,.k-home-video-player:-webkit-full-screen .k-home-video-bottom{left:0!important;right:0!important;bottom:0!important;padding:28px 16px 16px!important;gap:10px!important;z-index:40!important;background:linear-gradient(transparent,rgba(0,0,0,.82))!important;opacity:1!important;transform:none!important;pointer-events:auto!important;}
.k-home-video-player:fullscreen .k-home-video-play,.k-home-video-player:-webkit-full-screen .k-home-video-play{width:34px!important;height:34px!important;}
.k-home-video-player:fullscreen .k-home-video-progress,.k-home-video-player:-webkit-full-screen .k-home-video-progress{height:28px!important;min-width:0!important;}
.k-home-video-player:fullscreen .k-home-video-time,.k-home-video-player:-webkit-full-screen .k-home-video-time{min-width:72px!important;font-size:12px!important;text-align:right!important;}
.k-home-video-player:fullscreen .k-home-video-skip,.k-home-video-player:-webkit-full-screen .k-home-video-skip{z-index:35!important;}
@media(max-width:600px){.k-home-video-exit-fullscreen{top:12px!important;left:12px!important;width:38px!important;height:38px!important;}
.k-home-video-player:fullscreen .k-home-video-bottom,.k-home-video-player:-webkit-full-screen .k-home-video-bottom{padding:30px 13px 14px!important;gap:8px!important;}
.k-home-video-player:fullscreen .k-home-video-time,.k-home-video-player:-webkit-full-screen .k-home-video-time{min-width:68px!important;font-size:11px!important;}}
.k-home-video-player .k-home-video-fullscreen{left:12px!important;right:auto!important;top:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.k-home-video-player .k-home-video-mute{right:12px!important;left:auto!important;top:12px!important;}
.k-home-video-player:fullscreen .k-home-video-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-fullscreen{display:none!important;}
.k-home-video-player:fullscreen .k-home-video-exit-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-exit-fullscreen{left:12px!important;right:auto!important;top:14px!important;}
@media(max-width:600px){.k-home-video-player .k-home-video-fullscreen{left:12px!important;right:auto!important;top:12px!important;}
.k-home-video-player .k-home-video-mute{right:12px!important;left:auto!important;top:12px!important;}
.k-home-video-player:fullscreen .k-home-video-exit-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-exit-fullscreen{left:12px!important;right:auto!important;top:12px!important;}}
.k-home-video-volume{--v:0%;-webkit-appearance:none;appearance:none;flex:0 0 auto;width:64px;height:22px;margin:0;padding:0;background:transparent;cursor:pointer;pointer-events:auto;touch-action:none;outline:0;}
.k-home-video-volume::-webkit-slider-runnable-track{height:3px;border-radius:99px;background:linear-gradient(to right,#fff var(--v),rgba(255,255,255,.38) var(--v));}
.k-home-video-volume::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:11px;height:11px;margin-top:-4px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.5);}
.k-home-video-volume::-moz-range-track{height:3px;border-radius:99px;background:rgba(255,255,255,.38);}
.k-home-video-volume::-moz-range-progress{height:3px;border-radius:99px;background:#fff;}
.k-home-video-volume::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.5);}
.k-home-video-volume:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:2px;border-radius:99px;}
.k-home-video-player:fullscreen .k-home-video-volume,.k-home-video-player:-webkit-full-screen .k-home-video-volume{width:96px;}
@media(max-width:600px){.k-home-video-volume{width:52px;}}
.k-home-video-player .k-home-video-top-controls{position:absolute!important;top:12px!important;left:12px!important;right:12px!important;z-index:60!important;display:flex!important;align-items:center!important;justify-content:space-between!important;direction:ltr!important;pointer-events:none!important;}
.k-home-video-player .k-home-video-top-controls>button{position:relative!important;inset:auto!important;margin:0!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;background:rgba(0,0,0,.62)!important;color:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.30)!important;backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;pointer-events:auto!important;cursor:pointer!important;z-index:61!important;}
.k-home-video-player .k-home-video-top-controls .k-home-video-fullscreen{order:1!important;left:auto!important;right:auto!important;top:auto!important;}
.k-home-video-player .k-home-video-top-controls .k-home-video-mute{order:2!important;left:auto!important;right:auto!important;top:auto!important;}
.k-home-video-player .k-home-video-top-controls svg{width:16px!important;height:16px!important;}
.k-home-video-player:fullscreen .k-home-video-top-controls,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls{top:14px!important;left:14px!important;right:14px!important;z-index:100!important;}
.k-home-video-player:fullscreen .k-home-video-top-controls>button,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls>button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;z-index:101!important;}
.k-home-video-player:fullscreen .k-home-video-top-controls .k-home-video-fullscreen,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls .k-home-video-fullscreen{display:flex!important;visibility:visible!important;opacity:1!important;}
@media(max-width:600px){.k-home-video-player .k-home-video-top-controls{top:12px!important;left:12px!important;right:12px!important}
.k-home-video-player .k-home-video-top-controls>button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
.k-home-video-player:fullscreen .k-home-video-top-controls,.k-home-video-player:-webkit-full-screen .k-home-video-top-controls{top:12px!important;left:12px!important;right:12px!important}}
.kr-search-page{padding:18px 14px 120px;direction:rtl}
.kr-search-shell{max-width:900px;margin:0 auto}
.kr-search-heading{text-align:right;margin:4px 4px 14px}
.kr-search-title-row{display:flex;align-items:center;justify-content:flex-start;gap:9px}
.kr-search-title-row svg{width:22px;height:22px;fill:none;stroke:var(--p);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.kr-search-heading h2{margin:0;font-size:21px;color:var(--text);font-weight:900}
.kr-search-heading p{margin:7px 0 0;color:var(--sub);font-size:12px;line-height:1.8}
.kr-search-box{position:relative;display:flex;align-items:center;gap:8px;padding:5px 12px;border:1px solid rgba(255,255,255,.13);background:rgba(24,25,31,.82);border-radius:20px;box-shadow:0 12px 35px rgba(0,0,0,.18)}
.kr-search-box>svg{width:21px;height:21px;fill:none;stroke:var(--sub);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.kr-search-box input{width:100%;height:46px;border:0!important;outline:0!important;background:transparent!important;color:var(--text)!important;font-size:14px!important;margin:0!important;padding:0 4px!important;direction:rtl}
.kr-search-box input::placeholder{color:var(--sub)}
#kr-search-clear{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:var(--sub);font-size:23px;line-height:1;cursor:pointer;flex:none}
.kr-search-modes{display:flex;gap:8px;margin:11px 0 4px;overflow:auto;scrollbar-width:none}
.kr-search-modes::-webkit-scrollbar{display:none}
.kr-search-mode{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035);color:var(--sub);border-radius:999px;padding:8px 14px;font-size:11.5px;font-weight:800;cursor:pointer;white-space:nowrap}
.kr-search-mode.active{background:rgba(255,35,91,.13);border-color:rgba(255,35,91,.42);color:#ff4b78;box-shadow:0 5px 18px rgba(255,35,91,.10)}
.kr-search-meta{min-height:20px;color:var(--sub);font-size:11px;padding:6px 4px;text-align:right}
.kr-search-results{min-height:30px}
.kr-search-results .kr-feed-card{margin-top:12px}
.kr-search-loading,.kr-search-empty{text-align:center;color:var(--sub);font-size:13px;line-height:2;padding:38px 14px;border:1px dashed rgba(255,255,255,.10);border-radius:20px;background:rgba(255,255,255,.02)}
.kr-search-empty small{font-size:11px;color:var(--sub)}
.kr-search-history{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.kr-search-history-row{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);color:var(--text);border-radius:15px;padding:12px 14px;cursor:pointer;text-align:right;font-size:12px}
.kr-search-history-row span:last-child{color:var(--sub);font-size:15px}
@media(max-width:600px){.kr-search-page{padding:13px 10px 112px}
.kr-search-heading h2{font-size:19px}
.kr-search-box{border-radius:18px}
.kr-search-box input{height:44px;font-size:13.5px!important}}
:root{
  --kr-motion-ease:cubic-bezier(.22,.61,.36,1);
  --kr-motion-fast:.32s;
  --kr-motion-main:1.62s;
  --kr-motion-blur:4px;
}
#nav,#kr-bottom-nav{
  transition:transform var(--kr-motion-main) var(--kr-motion-ease),
             opacity var(--kr-motion-main) var(--kr-motion-ease),
             visibility var(--kr-motion-main) var(--kr-motion-ease)!important;
  will-change:transform,opacity,filter;
  filter:none;
}
body.kr-nav-scroll-hidden #nav{
  transition-delay:0ms!important;
}
body.kr-nav-scroll-hidden #kr-bottom-nav{
  transition-delay:180ms!important;
}
body:not(.kr-nav-scroll-hidden) #nav,body:not(.kr-nav-scroll-hidden) #kr-bottom-nav{
  transition-delay:0ms!important;
}
body.kr-nav-scroll-hidden #nav,body.kr-nav-scroll-hidden #kr-bottom-nav{
  background-color:color-mix(in srgb, currentColor 0%, transparent)!important;
}
@supports not (background-color:color-mix(in srgb, black, transparent)){body.kr-nav-scroll-hidden #nav,body.kr-nav-scroll-hidden #kr-bottom-nav{
    background-color:transparent!important;
  }}
body.kr-nav-scroll-hidden #nav{
  transform:translate3d(0,-118%,0)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.kr-nav-scroll-hidden #kr-bottom-nav{
  transform:translate3d(0,calc(100% + 34px),0)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.container > div.page-animated.page-enter-forward,.container > div.page-animated.page-enter-back{
  animation-duration:var(--kr-motion-main)!important;
  animation-timing-function:var(--kr-motion-ease)!important;
}
@keyframes krPageInForwardSoft{
  from{opacity:0;transform:translate3d(16px,5px,0) scale(.996);}
  to{opacity:1;transform:translate3d(0,0,0) scale(1);}
}
@keyframes krPageInBackSoft{
  from{opacity:0;transform:translate3d(-16px,5px,0) scale(.996);}
  to{opacity:1;transform:translate3d(0,0,0) scale(1);}
}
.container > div.page-animated.page-enter-forward{animation-name:krPageInForwardSoft!important;}
.container > div.page-animated.page-enter-back{animation-name:krPageInBackSoft!important;}
.kr-soft-dissolve{
  transition:opacity var(--kr-motion-main) var(--kr-motion-ease),
             transform var(--kr-motion-main) var(--kr-motion-ease),
             filter var(--kr-motion-main) var(--kr-motion-ease),
             visibility var(--kr-motion-main) var(--kr-motion-ease)!important;
  will-change:opacity,transform,filter;
}
.kr-soft-dissolve.is-hidden,.kr-soft-dissolve[aria-hidden="true"]{
  opacity:0!important;
  transform:translate3d(0,6px,0) scale(.985)!important;
  pointer-events:none!important;
}
@media(prefers-reduced-motion:reduce){#nav,#kr-bottom-nav,.kr-soft-dissolve{transition:none!important;animation:none!important;filter:none!important;}
.container > div.page-animated.page-enter-forward,.container > div.page-animated.page-enter-back{animation:none!important;filter:none!important;}}
#upload-status{position:fixed!important;top:calc(78px + env(safe-area-inset-top) + 3px)!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;z-index:1905!important;pointer-events:none!important;display:none;}
#upload-status[style*="display: flex"],#upload-status[style*="display:flex"]{display:flex!important;}
:root{--kr-nav-motion:.58s;}
#nav,#kr-bottom-nav{transition-duration:var(--kr-nav-motion)!important;will-change:transform,opacity;filter:none!important;}
body.kr-nav-scroll-hidden #nav,body.kr-nav-scroll-hidden #kr-bottom-nav{transition-duration:var(--kr-nav-motion)!important;}
@media(max-width:760px){#upload-status{top:calc(70px + env(safe-area-inset-top) + 3px)!important;}}
@media(prefers-reduced-motion:reduce){#upload-status{transition:none!important;}}
.krilz-startup-loading{position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(255,255,255,.94);opacity:1;visibility:visible;pointer-events:auto;transition:opacity .26s ease,visibility .26s ease;}
.krilz-startup-loading.hidden{opacity:0;visibility:hidden;pointer-events:none;}
.kr-entry-spinner{width:42px;height:42px;border:3px solid rgba(0,0,0,.10);border-top-color:var(--p,#007aff);border-right-color:var(--red,#ff3b30);border-radius:50%;animation:krEntrySpinner .72s linear infinite;will-change:transform;}
.kr-entry-loading-text{font-size:12px;font-weight:750;color:var(--sub,#8e8e93);line-height:1.5;}
@keyframes krEntrySpinner{to{transform:rotate(360deg)}}
[data-theme="dark"] .krilz-startup-loading{background:rgba(14,16,22,.96)}
[data-theme="dark"] .kr-entry-spinner{border-color:rgba(255,255,255,.13);border-top-color:var(--p,#007aff);border-right-color:var(--red,#ff3b30)}
@media (prefers-reduced-motion:reduce){.kr-entry-spinner{animation-duration:1.2s}}
body.kr-language-open{overflow:hidden!important;}
.kr-language-modal{position:fixed;inset:0;z-index:2147482600;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease;}
.kr-language-modal.open{opacity:1;visibility:visible;pointer-events:auto;}
.kr-language-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
.kr-language-dialog{position:relative;width:min(520px,calc(100vw - 32px));max-height:min(78vh,720px);overflow:auto;border:1px solid rgba(255,255,255,.14);border-radius:28px;padding:24px;background:color-mix(in srgb,var(--card,#fff) 92%,transparent);box-shadow:0 28px 90px rgba(0,0,0,.38);transform:translateY(10px) scale(.98);transition:transform .18s ease;}
.kr-language-modal.open .kr-language-dialog{transform:none;}
.kr-language-close{position:absolute;top:12px;right:14px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(127,127,127,.13);color:var(--text,#111);font-size:25px;line-height:1;cursor:pointer;}
.kr-language-globe{width:54px;height:54px;margin:0 auto 10px;border-radius:18px;display:grid;place-items:center;background:rgba(255,59,48,.1);color:var(--red,#ff3b30);}
.kr-language-globe svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
.kr-language-dialog h2{text-align:center;margin:0;font-size:20px;}
.kr-language-dialog>p{text-align:center;color:var(--sub,#777);font-size:12px;margin:7px 0 18px;}
.kr-language-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.kr-language-option{position:relative;min-height:58px;text-align:start;padding:10px 38px 10px 13px;border:1px solid rgba(127,127,127,.15);border-radius:16px;background:rgba(127,127,127,.07);color:var(--text,#111);cursor:pointer;transition:.16s ease;}
.kr-language-option:hover,.kr-language-option.active{border-color:var(--p,#007aff);background:color-mix(in srgb,var(--p,#007aff) 10%,transparent);}
.kr-language-name{display:block;font-size:13px;font-weight:800;}
.kr-language-native{display:block;margin-top:3px;font-size:10px;color:var(--sub,#777);}
.kr-language-check{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:17px;color:var(--p,#007aff);font-weight:900;}
[dir="rtl"] .kr-language-check{right:auto;left:13px;}
[dir="rtl"] .kr-language-close{right:auto;left:14px;}
@media(max-width:560px){.kr-language-dialog{padding:20px;border-radius:24px;max-height:82vh;}
.kr-language-list{grid-template-columns:1fr;gap:7px;}
.kr-language-option{min-height:54px;}}
[data-theme="dark"] .kr-language-dialog{background:rgba(20,22,28,.96);border-color:rgba(255,255,255,.1);}
.kr-pe-card{background:linear-gradient(150deg,rgba(255,255,255,.08),rgba(255,255,255,.03))!important;backdrop-filter:blur(22px) saturate(170%);-webkit-backdrop-filter:blur(22px) saturate(170%);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 20px 50px rgba(0,0,0,.45);}
.kr-pe-card input[type=text]:focus,.kr-pe-card textarea:focus{border-color:rgba(255,49,87,.7)!important;box-shadow:0 0 0 3px rgba(255,49,87,.18);outline:0;}
.kr-pe-avatar{position:relative;overflow:hidden;cursor:pointer;box-shadow:0 0 34px rgba(255,36,80,.28);}
.kr-pe-save{box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 12px 30px rgba(255,22,73,.4);}
.kr-pe-save:disabled{opacity:.55;pointer-events:none;}
.kr-pe-cover{position:relative;display:block;width:100%;aspect-ratio:16/6;min-height:120px;border-radius:22px;overflow:hidden;cursor:pointer;background:linear-gradient(135deg,rgba(255,61,127,.28),rgba(90,60,200,.22) 55%,rgba(20,20,30,.8));border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 14px 36px rgba(0,0,0,.4);}
.kr-pe-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.kr-pe-cover img.hidden{display:none;}
.kr-pe-cover-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#e9ebf1;font-size:13px;font-weight:800;}
.kr-pe-cover-ph.hidden{display:none;}
.kr-pe-cover-ph svg{width:30px;height:30px;fill:none;stroke:#ff6d8a;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.kr-pe-cover-edit{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;gap:6px;padding:7px 12px;border-radius:14px;background:rgba(0,0,0,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:12px;font-weight:800;}
.kr-pe-cover-edit svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.kr-pe-cover~.kr-pe-top{margin-top:-52px;padding:0 14px;position:relative;z-index:2;}
.kr-pe-cover~.kr-pe-top .kr-pe-avatar{border:3px solid #0b0c12;box-shadow:0 0 0 2px #ff3d7f,0 10px 28px rgba(0,0,0,.5);}
.kr-pe-cover~.kr-pe-top .kr-pe-fields{padding-top:56px;}
@media(max-width:380px){.kr-pe-cover~.kr-pe-top{flex-direction:column;align-items:center;}
.kr-pe-cover~.kr-pe-top .kr-pe-fields{padding-top:0;width:100%;}}
:root{--kr-soft-ease:cubic-bezier(.22,.8,.2,1);--kr-spring:cubic-bezier(.2,1.5,.35,1);}
html,body{overscroll-behavior-y:none;}
body #nav,body #kr-bottom-nav{
  transition-property:transform,opacity,filter,visibility!important;
  transition-duration:.75s,.6s,.6s,0s!important;
  transition-timing-function:var(--kr-soft-ease)!important;
  transition-delay:0s!important;
}
body.kr-nav-scroll-hidden #nav{filter:blur(6px)!important;transition-delay:0s,0s,0s,.7s!important;}
body.kr-nav-scroll-hidden #kr-bottom-nav{filter:blur(6px)!important;transition-delay:.08s,.08s,.08s,.78s!important;}
body:not(.kr-nav-scroll-hidden) #nav,body:not(.kr-nav-scroll-hidden) #kr-bottom-nav{filter:none!important;transition-delay:0s!important;}
@keyframes krMenuIn{from{opacity:0;scale:.9;filter:blur(5px)}to{opacity:1;scale:1;filter:blur(0)}}
@keyframes krMenuOut{from{opacity:1;scale:1;filter:blur(0)}to{opacity:0;scale:.92;filter:blur(5px)}}
.kr-post-menu-box{transform-origin:top left;animation:krMenuIn .3s var(--kr-soft-ease) backwards;transition:translate var(--kr-sway-t,.65s) var(--kr-spring);}
.kr-menu-ghost{position:fixed!important;margin:0!important;z-index:2147483600!important;pointer-events:none!important;display:block!important;animation:krMenuOut .24s ease forwards!important;transform-origin:top left;}
.reels-comment-menu,.reels-more-menu,#profile-settings-menu,#dm-floating-menu,#dm-reaction-popover{
  display:block!important;opacity:0;visibility:hidden;pointer-events:none;scale:.92;filter:blur(4px);transform-origin:top right;
  transition:opacity .24s var(--kr-soft-ease),scale .3s var(--kr-spring),filter .24s ease,visibility 0s linear .3s,translate var(--kr-sway-t,.65s) var(--kr-spring);
}
.reels-more-menu{display:flex!important;flex-direction:column;gap:3px;}
.reels-comment-menu.open,.reels-more-menu.open,#profile-settings-menu[aria-hidden="false"],#dm-floating-menu:not(.hidden),#dm-reaction-popover:not(.hidden){
  opacity:1;visibility:visible;pointer-events:auto;scale:1;filter:blur(0);
  transition:opacity .26s var(--kr-soft-ease),scale .34s var(--kr-spring),filter .26s ease,visibility 0s,translate var(--kr-sway-t,.65s) var(--kr-spring);
}
#user-profile-overlay.kr-profile-redesign .kr-profile-settings:not([aria-hidden="false"]){display:block!important;}
#reels-comments-sheet{transition:opacity .28s ease;}
.kru-overlay{animation:krFadeIn .26s ease both;}
@keyframes krFadeIn{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.kr-post-menu-box,.kr-menu-ghost{animation:none!important;}
.reels-comment-menu,.reels-more-menu,#profile-settings-menu,#dm-floating-menu,#dm-reaction-popover{transition:none!important;}}
html{ overflow-x:hidden!important; overflow-y:auto!important; height:auto!important; max-width:100%; }
body:not(.k-reels-mode):not(.k-chat-mode):not(.kr-profile-open):not(.kr-comments-open):not(.kr-language-open){
  overflow-x:hidden!important; overflow-y:auto!important; height:auto!important; min-height:100dvh!important;
  max-width:100%; touch-action:pan-y!important; overscroll-behavior-y:auto!important;
  -webkit-overflow-scrolling:touch;
}
body.krilz-startup-lock:not(:has(#krilz-startup-loading:not(.hidden))){
  overflow-y:auto!important; height:auto!important; touch-action:pan-y!important;
}
.kr-post-edit-page{direction:rtl;max-width:760px;margin:0 auto;padding:8px 14px calc(100px + env(safe-area-inset-bottom));box-sizing:border-box;color:var(--text)}
.kr-post-edit-form{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid rgba(120,130,150,.2);border-radius:22px;background:var(--card);box-shadow:0 8px 28px rgba(0,0,0,.08)}
.kr-post-edit-form>label:not(.kr-post-edit-check){font-size:12px;font-weight:850;margin-top:5px}
.kr-post-edit-form textarea,.kr-post-edit-form input[type=url],.kr-post-edit-form select{width:100%;box-sizing:border-box;border:1px solid rgba(120,130,150,.28);border-radius:13px;background:var(--bg);color:var(--text);font:inherit;font-size:14px;padding:12px;outline:none}
.kr-post-edit-form textarea{min-height:140px;resize:vertical;line-height:1.8}
.kr-post-edit-form input[type=file]{width:100%;font:inherit;font-size:12px;color:var(--text);padding:10px;border:1px dashed rgba(120,130,150,.4);border-radius:13px;box-sizing:border-box}
.kr-post-edit-current-media{display:flex;flex-direction:column;gap:7px;color:var(--sub);font-size:11px}
.kr-post-edit-current-media img,.kr-post-edit-current-media video{display:block;width:100%;max-height:320px;object-fit:contain;background:#000;border-radius:14px}
.kr-post-edit-hint{margin:0;color:var(--sub);font-size:11px;line-height:1.7}
.kr-post-edit-check{display:flex;align-items:center;gap:9px;font-size:12px;padding:8px 2px;cursor:pointer}
.kr-post-edit-check input{width:18px;height:18px;accent-color:var(--p)}
.kr-post-edit-actions{display:flex;gap:10px;margin-top:8px}
.kr-post-edit-actions button{flex:1;border:0;border-radius:14px;padding:13px;font:inherit;font-weight:850;cursor:pointer}
.kr-post-edit-actions #post-edit-save{background:var(--p);color:#fff}
.kr-post-edit-cancel{background:var(--bg);color:var(--text)}
.kr-post-edit-actions button:disabled{opacity:.6;cursor:wait}
.kr-post-edit-page{direction:rtl;max-width:980px;margin:0 auto;padding:14px 14px calc(36px + env(safe-area-inset-bottom));box-sizing:border-box;color:#f4f4f6}
.kr-post-edit-form{display:flex;flex-direction:column;gap:18px;background:transparent;border:0;box-shadow:none;padding:0}
.kr-editor-header{display:grid;grid-template-columns:44px auto 1fr auto;align-items:center;gap:12px;min-height:88px;margin-bottom:2px}
.kr-editor-header h1{margin:0;text-align:center;font-size:clamp(20px,3vw,34px);font-weight:850;white-space:nowrap}
.kr-editor-back{border:0;background:none;color:#ff315b;width:42px;height:48px;display:grid;place-items:center;cursor:pointer}
.kr-editor-back svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.kr-editor-brand{display:flex;align-items:center;gap:10px;direction:ltr;font-size:clamp(18px,2.6vw,28px);white-space:nowrap}
.kr-editor-brand img{width:54px;height:54px;border-radius:14px;object-fit:cover}
.kr-editor-brand strong{letter-spacing:.3px}
.kr-editor-publish,.kr-editor-publish-bottom{display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:23px;background:linear-gradient(120deg,#f52c50,#ff0750);color:white;padding:16px 25px;font:inherit;font-size:clamp(16px,2.3vw,25px);font-weight:850;cursor:pointer;white-space:nowrap}
.kr-editor-publish svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-editor-publish:disabled{opacity:.6}
.kr-editor-card{box-sizing:border-box;width:100%;min-width:0;border:1px solid #2b2c32;border-radius:25px;background:linear-gradient(145deg,#17181d,#121318);padding:22px 24px;box-shadow:0 8px 24px #0002}
.kr-editor-text-card>label,.kr-editor-link-card>label,.kr-editor-media-card>label,.kr-editor-preview-section>h2{display:block;font-size:clamp(16px,2vw,23px);font-weight:800;margin:0 0 18px}
.kr-editor-text-card textarea{width:100%;box-sizing:border-box;min-height:210px;resize:vertical;border:1px solid #303139;border-radius:24px;background:linear-gradient(120deg,#1a1b21,#18191f);color:#f6f6f8;padding:24px;font:inherit;font-size:clamp(16px,2vw,22px);line-height:1.8;outline:none}
.kr-editor-text-card textarea:focus,.kr-editor-link-row input:focus{border-color:#a82b48}
.kr-editor-text-card textarea::placeholder,.kr-editor-link-row input::placeholder{color:#777983}
.kr-editor-text-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#888a95;font-size:18px;padding-top:12px}
.kr-editor-quick-tools{display:flex;align-items:center;gap:26px}
.kr-editor-quick-tools button{border:0;background:none;color:#c4c5ce;font-size:29px;cursor:pointer;padding:0;min-width:26px}
.kr-editor-link-row{display:flex;gap:14px;align-items:center}
.kr-editor-link-row input{min-width:0;flex:1;height:76px;box-sizing:border-box;border:1px solid #303139;border-radius:22px;background:#191a20;color:#f4f4f6;padding:0 24px;font:inherit;font-size:clamp(15px,2vw,23px);direction:ltr;text-align:left;outline:none}
.kr-editor-outline-icon{width:68px;height:68px;flex:0 0 68px;border:1px solid #35363e;border-radius:20px;display:grid;place-items:center;color:#d5d5dd;font-size:32px}
.kr-editor-category-card{display:flex;align-items:center;gap:20px;padding:24px}
.kr-editor-category-card label{font-size:clamp(16px,2vw,23px);font-weight:750;white-space:nowrap}
.kr-editor-category-card select{flex:1;min-width:0;appearance:none;border:1px solid #303139;border-radius:20px;background:#191a20;color:#e2e2e8;padding:20px 22px;font:inherit;font-size:clamp(15px,2vw,22px)}
.kr-editor-media-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.kr-editor-media-types{display:flex;border:1px solid #393a42;border-radius:20px;overflow:hidden}
.kr-editor-media-types span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:88px;min-height:88px;color:#c6c7d0;font-size:28px;border-left:1px solid #393a42}
.kr-editor-media-types span:last-child{border-left:0}
.kr-editor-media-types small{font-size:13px}
.kr-editor-file-button{border:1px solid #81233d;color:#ff315d;border-radius:22px;padding:18px 26px;font-size:clamp(15px,2vw,22px);font-weight:800;cursor:pointer}
.kr-editor-media-row input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.kr-editor-media-card .kr-post-edit-hint{font-size:15px;margin-top:16px}
.kr-post-edit-current-media{display:flex;align-items:center;gap:12px;margin-top:12px;color:#92939e;font-size:13px}
.kr-post-edit-current-media img,.kr-post-edit-current-media video{width:100px;height:100px;max-height:100px;object-fit:cover;border-radius:16px;background:#09090c}
.kr-post-edit-current-media span{font-size:13px}
.kr-editor-preview-section>h2{margin-bottom:14px}
.kr-editor-preview-card{border:1px solid #303139;border-radius:23px;padding:20px;min-height:120px}
.kr-editor-preview-main{display:flex;align-items:center;gap:13px}
.kr-editor-avatar{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:linear-gradient(135deg,#ff4550,#ed123d);font-size:34px;font-weight:900;color:white}
.kr-editor-preview-copy{display:flex;flex-direction:column;gap:5px}
.kr-editor-preview-copy strong{font-size:21px}
.kr-editor-preview-copy small{font-size:14px;color:#92939d}
.kr-editor-preview-card>p{margin:18px 0 0;color:#a4a5ae;font-size:19px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.kr-editor-preview-media img,.kr-editor-preview-media video{display:block;max-width:100%;max-height:220px;margin-top:12px;border-radius:15px;object-fit:contain}
.kr-editor-preview-media:empty{display:none}
.kr-editor-advanced{padding:20px 24px}
.kr-editor-advanced summary{display:flex;align-items:center;gap:18px;cursor:pointer;list-style:none;font-size:clamp(16px,2vw,22px);font-weight:750}
.kr-editor-advanced summary::-webkit-details-marker{display:none}
.kr-editor-gear{font-size:28px;color:#c5c6cf}
.kr-editor-advanced-body{display:flex;flex-direction:column;gap:10px;padding-top:20px}
.kr-editor-advanced-body>label:not(.kr-post-edit-check){font-size:14px;font-weight:800}
.kr-editor-advanced-body select{width:100%;box-sizing:border-box;background:#191a20;color:#eee;border:1px solid #34353d;border-radius:14px;padding:14px;font:inherit}
.kr-post-edit-check{display:flex;align-items:center;gap:12px;color:#dddde4;font-size:15px;padding:9px 2px;cursor:pointer}
.kr-post-edit-check input{width:19px;height:19px;accent-color:#ff174f}
.kr-editor-bottom-actions{display:flex;gap:12px}
.kr-editor-bottom-actions button{flex:1;border-radius:17px;padding:14px 18px;font:inherit;font-weight:800;cursor:pointer}
.kr-editor-bottom-actions .kr-post-edit-cancel{border:1px solid #383941;background:#191a20;color:#ddd}
.kr-editor-publish-bottom{border:0;font-size:16px;padding:14px 18px}
@media(max-width:600px){.kr-post-edit-page{padding:4px 10px calc(26px + env(safe-area-inset-bottom))}
.kr-post-edit-form{gap:12px}
.kr-editor-header{grid-template-columns:32px auto 1fr auto;gap:7px;min-height:62px}
.kr-editor-brand img{width:34px;height:34px;border-radius:10px}
.kr-editor-brand{gap:5px;font-size:15px}
.kr-editor-header h1{font-size:17px}
.kr-editor-back{width:30px;height:38px}
.kr-editor-back svg{width:24px;height:24px}
.kr-editor-publish{padding:11px 12px;border-radius:16px;font-size:14px;gap:5px}
.kr-editor-publish svg{width:20px;height:20px}
.kr-editor-card{padding:16px;border-radius:20px}
.kr-editor-text-card textarea{min-height:160px;padding:17px;border-radius:18px}
.kr-editor-link-row input{height:58px;padding:0 13px;border-radius:16px}
.kr-editor-outline-icon{width:52px;height:52px;flex-basis:52px;border-radius:16px;font-size:26px}
.kr-editor-category-card{gap:10px;padding:15px}
.kr-editor-category-card select{padding:16px 12px;border-radius:15px}
.kr-editor-media-types span{width:54px;min-height:68px;font-size:23px}
.kr-editor-media-types small{font-size:11px}
.kr-editor-file-button{padding:14px 15px;border-radius:16px;font-size:14px}
.kr-editor-preview-card{padding:14px}
.kr-editor-avatar{width:44px;height:44px;flex-basis:44px;font-size:27px}
.kr-editor-preview-copy strong{font-size:17px}
.kr-editor-preview-card>p{font-size:15px}
.kr-editor-text-tools{font-size:14px}
.kr-editor-quick-tools{gap:18px}
.kr-editor-quick-tools button{font-size:25px}}
#post-edit-page.kr-post-edit-page{width:100%;max-width:1024px;margin-inline:auto;padding:14px 44px calc(26px + env(safe-area-inset-bottom));}
#post-edit-page .kr-editor-header{direction:ltr;grid-template-columns:56px 210px minmax(180px,1fr) 192px;gap:12px;min-height:96px;margin:0 0 8px;}
#post-edit-page .kr-editor-header h1{direction:rtl;text-align:center;font-size:clamp(24px,3vw,36px);}
#post-edit-page .kr-editor-brand{justify-self:start;}
#post-edit-page .kr-editor-publish{justify-self:end;min-width:192px;}
#post-edit-page .kr-editor-card{border-radius:26px;background:linear-gradient(145deg,#17181d 0%,#14151a 100%);padding:22px 24px;}
#post-edit-page .kr-editor-text-card textarea{min-height:210px;}
#post-edit-page .kr-editor-category-card{direction:rtl;}
#post-edit-page .kr-editor-media-card .kr-editor-media-row{direction:rtl;}
#post-edit-page .kr-editor-preview-card{direction:rtl;}
#post-edit-page .kr-editor-advanced summary{direction:rtl;}
#post-edit-page .kr-editor-bottom-actions{display:none;}
@media(max-width:700px){#post-edit-page.kr-post-edit-page{padding:4px 10px calc(26px + env(safe-area-inset-bottom));}
#post-edit-page .kr-editor-header{direction:ltr;grid-template-columns:30px minmax(74px,auto) minmax(70px,1fr) auto;gap:6px;min-height:62px;margin-bottom:0;}
#post-edit-page .kr-editor-header h1{font-size:clamp(14px,3.6vw,18px);white-space:normal;}
#post-edit-page .kr-editor-brand{font-size:14px;gap:5px;}
#post-edit-page .kr-editor-publish{min-width:0;justify-self:end;padding:11px 12px;font-size:14px;}
#post-edit-page .kr-editor-card{padding:16px;border-radius:20px;}
#post-edit-page .kr-editor-text-card textarea{min-height:160px;}}
#post-edit-page .kr-editor-media-types{display:flex;align-items:stretch;border:1px solid #393a42;border-radius:18px;overflow:hidden;flex-wrap:nowrap}
#post-edit-page .kr-editor-media-type{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:88px;min-height:88px;border:0;border-left:1px solid #393a42;background:transparent;color:#c6c7d0;font-size:28px;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
#post-edit-page .kr-editor-media-type:last-child{border-left:0}
#post-edit-page .kr-editor-media-type small{font-size:13px}
#post-edit-page .kr-editor-media-type.is-active{color:#ff315d;background:rgba(255,49,93,.12);box-shadow:inset 0 -3px #ff315d}
#post-edit-page .kr-editor-media-type:focus-visible{outline:2px solid #ff315d;outline-offset:-3px}
#post-edit-page .kr-post-edit-current-media audio,#post-edit-page .kr-editor-preview-media audio{width:min(100%,420px);min-height:44px}
@media(max-width:600px){#post-edit-page .kr-editor-media-type{width:62px;min-height:68px;font-size:23px}
#post-edit-page .kr-editor-media-type small{font-size:11px}}
#post-edit-page.kre-page{--u:clamp(.46px,calc(100vw / 1024),.8px);--kre-card:#121217;--kre-field:#1a1b20;--kre-line:#26272e;--kre-line2:#3a3b43;--kre-mut:#8b8d98;--kre-red:#ff2d62;
  direction:rtl;box-sizing:border-box;width:100%;max-width:calc(var(--u) * 1024);margin:0 auto;padding:calc(var(--u) * 30) calc(var(--u) * 44) calc(var(--u) * 44 + env(safe-area-inset-bottom));color:#f4f4f6;background:transparent}
#post-edit-page.kre-page.hidden{display:none!important}
#post-edit-page.kre-page *{box-sizing:border-box}
#post-edit-page .kre-form{display:flex;flex-direction:column;gap:calc(var(--u) * 26);margin:0;padding:0;border:0;background:transparent;box-shadow:none}
#post-edit-page button{font-family:inherit;-webkit-tap-highlight-color:transparent}
#post-edit-page svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#post-edit-page .kre-header{direction:ltr;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:calc(var(--u) * 18);min-height:calc(var(--u) * 82);margin:0 0 calc(var(--u) * 4);background:transparent;border:0;padding:0}
#post-edit-page .kre-back{width:max(30px,calc(var(--u) * 56));height:max(36px,calc(var(--u) * 64));border:0;background:none;padding:0;color:#ff3b63;display:grid;place-items:center;cursor:pointer}
#post-edit-page .kre-back svg{width:max(20px,calc(var(--u) * 36));height:max(20px,calc(var(--u) * 36));stroke-width:1.9}
#post-edit-page .kre-brand{display:flex;align-items:center;gap:calc(var(--u) * 14);direction:ltr}
#post-edit-page .kre-brand img{width:max(30px,calc(var(--u) * 66));height:max(30px,calc(var(--u) * 66));border-radius:calc(var(--u) * 17);object-fit:cover;display:block}
#post-edit-page .kre-brand strong{font-size:max(15px,calc(var(--u) * 36));font-weight:800;color:#fff;letter-spacing:.2px;line-height:1}
#post-edit-page .kre-header h1{margin:0;direction:rtl;text-align:center;font-size:max(15px,calc(var(--u) * 36));font-weight:800;color:#fff;white-space:nowrap;line-height:1.2}
#post-edit-page .kre-publish{direction:rtl;display:flex;align-items:center;justify-content:center;gap:calc(var(--u) * 14);min-width:max(84px,calc(var(--u) * 192));height:max(38px,calc(var(--u) * 82));padding:0 calc(var(--u) * 22);border:0;border-radius:max(14px,calc(var(--u) * 28));background:linear-gradient(135deg,#ff3d5f 0%,#ff1766 100%);color:#fff;font-size:max(14px,calc(var(--u) * 29));font-weight:800;box-shadow:0 calc(var(--u) * 10) calc(var(--u) * 30) rgba(255,35,95,.28);cursor:pointer}
#post-edit-page .kre-publish svg{width:max(16px,calc(var(--u) * 32));height:max(16px,calc(var(--u) * 32));stroke-width:1.9}
#post-edit-page .kre-publish:disabled{opacity:.65;cursor:wait}
#post-edit-page .kre-card{border:1px solid var(--kre-line);border-radius:max(18px,calc(var(--u) * 30));background:linear-gradient(145deg,#15161b 0%,#101015 100%);padding:calc(var(--u) * 25);box-shadow:0 calc(var(--u) * 14) calc(var(--u) * 40) rgba(0,0,0,.28);margin:0;min-width:0}
#post-edit-page .kre-label{display:block;margin:0 calc(var(--u) * 6) calc(var(--u) * 14) 0;font-size:max(13px,calc(var(--u) * 24));font-weight:600;color:#f1f1f5;line-height:1.4}
#post-edit-page .kre-row{display:flex;align-items:center;gap:calc(var(--u) * 23)}
#post-edit-page .kre-iconbox{flex:0 0 auto;width:max(38px,calc(var(--u) * 70));height:max(42px,calc(var(--u) * 80));display:grid;place-items:center;border:1px solid var(--kre-line2);border-radius:max(12px,calc(var(--u) * 22));background:var(--kre-field);color:#c9cbd4}
#post-edit-page .kre-iconbox svg{width:max(18px,calc(var(--u) * 34));height:max(18px,calc(var(--u) * 34))}
#post-edit-page .kre-text textarea{display:block;width:100%;height:max(112px,calc(var(--u) * 210));resize:none;margin:0;padding:calc(var(--u) * 22) calc(var(--u) * 26);border:1px solid var(--kre-line);border-radius:max(14px,calc(var(--u) * 24));background:var(--kre-field);color:#fff;font:inherit;font-size:max(13px,calc(var(--u) * 24));line-height:1.8;outline:0;caret-color:var(--kre-red)}
#post-edit-page .kre-text textarea::placeholder,#post-edit-page .kre-row input::placeholder{color:#6f717c;opacity:1}
#post-edit-page .kre-text textarea:focus,#post-edit-page .kre-row input:focus{border-color:rgba(255,49,93,.5)}
#post-edit-page .kre-text-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:calc(var(--u) * 14);padding:0 calc(var(--u) * 18) 0 calc(var(--u) * 2)}
#post-edit-page .kre-quick{display:flex;align-items:center;gap:calc(var(--u) * 26)}
#post-edit-page .kre-quick button{width:max(30px,calc(var(--u) * 42));height:max(30px,calc(var(--u) * 42));border:0;background:none;padding:0;color:#b3b5c0;display:grid;place-items:center;cursor:pointer}
#post-edit-page .kre-quick svg{width:max(19px,calc(var(--u) * 34));height:max(19px,calc(var(--u) * 34));stroke-width:1.6}
#post-edit-page .kre-counter{font-size:max(12px,calc(var(--u) * 22));color:var(--kre-mut);direction:ltr}
#post-edit-page .kre-row input{flex:1;min-width:0;height:max(42px,calc(var(--u) * 80));margin:0;padding:0 calc(var(--u) * 28);border:1px solid var(--kre-line);border-radius:max(14px,calc(var(--u) * 24));background:var(--kre-field);color:#fff;font:inherit;font-size:max(13px,calc(var(--u) * 26));text-align:left;outline:0}
#post-edit-page .kre-select{position:relative;flex:1;min-width:0;height:max(42px,calc(var(--u) * 82));display:flex;align-items:center;padding:0 calc(var(--u) * 26);border:1px solid var(--kre-line);border-radius:max(14px,calc(var(--u) * 24));background:var(--kre-field)}
#post-edit-page .kre-select label{position:relative;z-index:1;pointer-events:none;font-size:max(13px,calc(var(--u) * 24));font-weight:500;color:#d6d7de;white-space:nowrap}
#post-edit-page .kre-select select,#post-edit-page .kre-more-body select{color-scheme:dark}
#post-edit-page .kre-select select{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:inherit;outline:0;cursor:pointer;-webkit-appearance:none;appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9ca8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left calc(var(--u) * 28) center/max(14px,calc(var(--u) * 28)) !important;padding:0 calc(var(--u) * 82);color:#e8e8ee;font:inherit;font-size:max(13px,calc(var(--u) * 24));text-align:left;text-align-last:left}
#post-edit-page .kre-select select option{background:#1a1b20;color:#f1f1f5}
#post-edit-page .kre-media .kre-label{margin-bottom:calc(var(--u) * 14)}
#post-edit-page .kre-media-row{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--u) * 14)}
#post-edit-page .kre-pick{flex:0 0 28%;min-width:0;height:max(40px,calc(var(--u) * 73));display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:calc(var(--u) * 10);border:1px solid rgba(255,49,93,.4);border-radius:max(13px,calc(var(--u) * 22));background:rgba(255,49,93,.08);color:#ff4a73;font-size:max(13px,calc(var(--u) * 24));font-weight:600;cursor:pointer;white-space:nowrap;margin:0;padding:0 4px}
#post-edit-page .kre-pick svg{width:max(17px,calc(var(--u) * 32));height:max(17px,calc(var(--u) * 32));flex:0 0 auto}
#post-edit-page .kre-types{flex:0 0 43%;min-width:0;height:max(58px,calc(var(--u) * 104));display:flex;direction:rtl;border:1px solid var(--kre-line2);border-radius:max(14px,calc(var(--u) * 24));overflow:hidden;background:rgba(255,255,255,.015)}
#post-edit-page .kre-type{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--u) * 6);border:0;background:transparent;color:#aeb0bb;padding:0;cursor:pointer}
#post-edit-page .kre-type:not(:first-child){border-right:1px solid var(--kre-line2)}
#post-edit-page .kre-type svg{width:max(19px,calc(var(--u) * 38));height:max(19px,calc(var(--u) * 38));stroke-width:1.5}
#post-edit-page .kre-type small{font-size:max(11px,calc(var(--u) * 22));line-height:1.2}
#post-edit-page .kre-type.is-active{color:#ff3a66;background:rgba(255,49,93,.12)}
#post-edit-page .kre-type:focus-visible,#post-edit-page .kre-pick:focus-within{outline:2px solid #ff315d;outline-offset:-3px}
#post-edit-page #post-edit-media{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0);pointer-events:none}
#post-edit-page .kre-hint{margin:calc(var(--u) * 14) 0 0;direction:ltr;text-align:left;font-size:max(11px,calc(var(--u) * 20));color:var(--kre-mut);line-height:1.6}
#post-edit-page .kre-current{display:none}
#post-edit-page .kre-check{display:flex;align-items:center;gap:10px;margin-top:calc(var(--u) * 14);font-size:max(12px,calc(var(--u) * 22));color:#cfd0d8;cursor:pointer}
#post-edit-page .kre-check input{width:18px;height:18px;accent-color:var(--kre-red);margin:0}
#post-edit-page .kre-remove[hidden]{display:none}
#post-edit-page .kre-preview .kre-label{margin-bottom:calc(var(--u) * 16)}
#post-edit-page .kre-pv{direction:ltr;display:flex;align-items:center;justify-content:space-between;gap:calc(var(--u) * 24);padding:calc(var(--u) * 22) calc(var(--u) * 20) calc(var(--u) * 22) calc(var(--u) * 22);border:1px solid var(--kre-line);border-radius:max(14px,calc(var(--u) * 24));background:#13141a}
#post-edit-page .kre-pv-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:calc(var(--u) * 14);justify-content:center}
#post-edit-page .kre-pv-head{display:flex;align-items:center;gap:calc(var(--u) * 18)}
#post-edit-page .kre-avatar{flex:0 0 auto;width:max(30px,calc(var(--u) * 58));height:max(30px,calc(var(--u) * 58));border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ff4b3e,#ff2260);color:#fff;font-weight:900;font-size:max(15px,calc(var(--u) * 32))}
#post-edit-page .kre-pv-copy{min-width:0;display:flex;flex-direction:column;gap:calc(var(--u) * 4);text-align:left}
#post-edit-page .kre-pv-copy strong{font-size:max(13px,calc(var(--u) * 26));font-weight:700;color:#fff;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#post-edit-page .kre-pv-copy small{font-size:max(11px,calc(var(--u) * 21));color:var(--kre-mut);direction:rtl;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#post-edit-page .kre-pv-main p{margin:0;direction:rtl;text-align:left;font-size:max(12px,calc(var(--u) * 24));color:#9b9da8;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#post-edit-page .kre-pv-media{position:relative;flex:0 0 max(76px,calc(var(--u) * 175));width:max(76px,calc(var(--u) * 175));height:max(68px,calc(var(--u) * 155));border-radius:max(12px,calc(var(--u) * 20));overflow:hidden;background:#0d0d12 center/cover no-repeat;border:1px solid rgba(255,255,255,.06)}
#post-edit-page .kre-pv-media:empty{background-image:url("/assets/img/krilz-profile-art.svg")}
#post-edit-page .kre-pv-media img,#post-edit-page .kre-pv-media video{display:block;width:100%;height:100%;object-fit:cover}
#post-edit-page .kre-pv-media audio{position:absolute;left:0;right:0;bottom:0;width:100%;height:40px}
#post-edit-page .kre-pv-media::after{content:"";position:absolute;right:calc(var(--u) * 10);bottom:calc(var(--u) * 10);width:max(18px,calc(var(--u) * 34));height:max(18px,calc(var(--u) * 34));border-radius:calc(var(--u) * 9);background:rgba(0,0,0,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3.5' width='18' height='17' rx='3'/%3E%3Ccircle cx='9' cy='9.5' r='1.8'/%3E%3Cpath d='m21 16-5-5-8 8.5'/%3E%3C/svg%3E") center/62% no-repeat;pointer-events:none}
#post-edit-page .kre-more{padding:calc(var(--u) * 22) calc(var(--u) * 28) calc(var(--u) * 22) calc(var(--u) * 28)}
#post-edit-page .kre-more-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
#post-edit-page .kre-switch{display:flex;flex-direction:row-reverse;align-items:center;gap:calc(var(--u) * 24);margin:0;font-size:max(13px,calc(var(--u) * 24));color:#f1f1f5;cursor:pointer;direction:rtl}
#post-edit-page .kre-switch input{--k:max(14px,calc(var(--u) * 26));-webkit-appearance:none;appearance:none;margin:0;flex:0 0 auto;position:relative;width:max(42px,calc(var(--u) * 70));height:max(24px,calc(var(--u) * 40));border-radius:999px;border:1.5px solid var(--kre-red);background:rgba(255,45,98,.1);cursor:pointer;transition:background .2s,border-color .2s;direction:ltr}
#post-edit-page .kre-switch input::after{content:"";position:absolute;top:50%;left:calc(100% - var(--k) - 4px);width:var(--k);height:var(--k);border-radius:50%;background:#ff2d62;transform:translateY(-50%);transition:left .2s,background .2s;box-shadow:0 0 12px rgba(255,45,98,.5)}
#post-edit-page .kre-switch input:not(:checked){border-color:#4a4b55;background:rgba(255,255,255,.05)}
#post-edit-page .kre-switch input:not(:checked)::after{left:4px;background:#6b6d78;box-shadow:none}
#post-edit-page .kre-switch input:focus-visible{outline:2px solid #ff315d;outline-offset:3px}
#post-edit-page .kre-more-btn{display:flex;align-items:center;gap:calc(var(--u) * 14);border:0;background:none;padding:6px 2px;color:#d0d2da;font-size:max(13px,calc(var(--u) * 24));cursor:pointer}
#post-edit-page .kre-more-btn svg{width:max(18px,calc(var(--u) * 34));height:max(18px,calc(var(--u) * 34));stroke-width:1.5}
#post-edit-page .kre-more-btn .kre-chev{width:max(16px,calc(var(--u) * 30));height:max(16px,calc(var(--u) * 30));stroke-width:1.8;transition:transform .2s}
#post-edit-page .kre-more-btn.is-open .kre-chev{transform:rotate(180deg)}
#post-edit-page .kre-more-body{margin-top:calc(var(--u) * 18);padding-top:calc(var(--u) * 18);border-top:1px solid var(--kre-line)}
#post-edit-page .kre-more-body[hidden]{display:none}
#post-edit-page .kre-more-body select{display:block;width:100%;height:max(42px,calc(var(--u) * 76));padding:0 14px;border:1px solid var(--kre-line);border-radius:max(12px,calc(var(--u) * 22));background:var(--kre-field);color:#f1f1f5;font:inherit;font-size:max(13px,calc(var(--u) * 24));outline:0}
#post-edit-page .kre-more-body .kre-hint{direction:rtl;text-align:right}
.kru-compose-row .kru-picker.kru-picker-3{display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;gap:6px;padding:6px;cursor:default}
.kru-pick-opt{flex:1 1 0;min-height:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px 2px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.05);color:#e8e9ef;font:inherit;font-size:11px;font-weight:800;line-height:1.2;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s,border-color .15s,transform .1s}
.kru-pick-opt:hover,.kru-pick-opt:focus-visible{background:rgba(255,49,87,.12);border-color:rgba(255,49,87,.5);outline:0}
.kru-pick-opt:active{transform:scale(.97)}
.kru-pick-ico{flex:0 0 auto;width:26px;height:26px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#ff5a78,#ff1f52);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 6px 16px rgba(255,22,73,.35)}
.kru-pick-ico svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kru-stage.has-media .kru-picker.kru-picker-3{display:none}
.kru-pv{direction:ltr;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:18px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1)}
.kru-pv-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.kru-pv-head{display:flex;align-items:center;gap:10px}
.kru-pv-av{flex:0 0 auto;width:36px;height:36px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#ff4b3e,#ff2260);color:#fff;font-weight:900;font-size:16px}
.kru-pv-av img{width:100%;height:100%;object-fit:cover;display:block}
.kru-pv-copy{min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left}
.kru-pv-copy strong{font-size:13.5px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kru-pv-copy small{font-size:11px;color:#9a9ca8;direction:rtl;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kru-pv-main p{margin:0;direction:rtl;text-align:left;font-size:13px;line-height:1.7;color:#e6e7ee;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.kru-pv-main p.is-empty{color:#8e909c}
.kru-pv-tags{display:flex;flex-wrap:wrap;gap:6px;direction:ltr;justify-content:flex-start}
.kru-pv-tags:empty{display:none}
.kru-pv-tags span{font-size:11.5px;color:#ff6b86;background:rgba(255,49,87,.1);border-radius:999px;padding:2px 9px}
.kru-pv-link{font-size:11.5px;color:#8ab4ff;direction:ltr;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kru-pv-link[hidden]{display:none}
.kru-pv-media{position:relative;flex:0 0 84px;width:84px;height:96px;border-radius:14px;overflow:hidden;background:#0d0d12 url("/assets/img/krilz-profile-art.svg") center/cover no-repeat;border:1px solid rgba(255,255,255,.08);display:grid;place-items:center}
.kru-pv-media img,.kru-pv-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.kru-pv-media.is-audio{background:linear-gradient(150deg,#2a1520,#12131a)}
.kru-pv-media.is-audio svg{width:34px;height:34px;fill:none;stroke:#ff5a78;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:not(.kr-authenticated):not(.kr-guest-browse) #nav,body:not(.kr-authenticated):not(.kr-guest-browse) #kr-bottom-nav,body:not(.kr-authenticated):not(.kr-guest-browse) #fab-btn{ display:none !important; }
#kr-bottom-nav.kr-bottom-nav{
  box-sizing:border-box!important; width:auto!important; max-width:560px!important;
  left:max(8px,env(safe-area-inset-left))!important;
  right:max(8px,env(safe-area-inset-right))!important;
  display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:center!important; gap:0!important; padding:5px 6px calc(5px + env(safe-area-inset-bottom))!important;
  overflow:hidden!important;
}
#kr-bottom-nav.kr-bottom-nav>button{
  box-sizing:border-box!important; min-width:0!important; width:100%!important; max-width:100%!important;
  padding:5px 0!important; margin:0!important; gap:3px!important;
  display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important;
  font-size:clamp(10px,2.8vw,12px)!important; line-height:1.15!important; white-space:nowrap!important;
}
#kr-bottom-nav .kr-nav-icon{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;line-height:0!important;}
#kr-bottom-nav .kr-nav-icon svg,#kr-bottom-nav button .kr-nav-icon svg{width:clamp(18px,5.2vw,23px)!important;height:clamp(18px,5.2vw,23px)!important;max-width:100%!important;flex:0 0 auto!important;}
#kr-bottom-nav .kr-create-nav{justify-self:center!important;align-self:center!important;width:clamp(48px,14vw,58px)!important;height:clamp(48px,14vw,58px)!important;min-width:0!important;padding:0!important;border-radius:50%!important;}
#kr-bottom-nav .kr-create-nav .kr-create-plus{font-size:clamp(24px,7vw,32px)!important;line-height:1!important;}
#kr-bottom-nav>button>span:last-child{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;}
@media(max-width:380px){#kr-bottom-nav.kr-bottom-nav{left:5px!important;right:5px!important;padding-left:3px!important;padding-right:3px!important;}
#kr-bottom-nav.kr-bottom-nav>button{font-size:10px!important;gap:2px!important;}
#kr-bottom-nav .kr-nav-icon svg,#kr-bottom-nav button .kr-nav-icon svg{width:18px!important;height:18px!important;}
#kr-bottom-nav .kr-create-nav{width:46px!important;height:46px!important;}}
html,body{max-width:100%;}
body{overflow-x:clip;}
.kr-feed-card .kr-link-preview,.kr-post-card .kr-link-preview,.kr-link-preview:not(.reels-caption .kr-link-preview):not(.reels-bottom .kr-link-preview){
  display:flex!important; flex-direction:row!important; align-items:stretch!important;
  width:100%!important; max-width:100%!important; min-height:84px!important;
  height:auto!important; margin:9px 0 0!important; padding:0!important;
  grid-template-columns:none!important; gap:0!important; border-radius:14px!important;
  overflow:hidden!important; box-sizing:border-box!important;
}
.kr-link-preview .kr-link-preview-main{order:1!important; flex:1 1 auto!important; min-width:0!important; padding:9px 11px!important; box-sizing:border-box!important;}
.kr-link-preview .kr-link-site{gap:5px!important; font-size:10px!important; line-height:1.35!important; min-width:0!important; overflow:hidden!important; white-space:nowrap!important;}
.kr-link-preview .kr-site-logo{width:21px!important;height:21px!important;min-width:21px!important;border-radius:6px!important;font-size:10px!important;}
.kr-link-preview .kr-link-title{font-size:12px!important;line-height:1.45!important;margin-top:5px!important;-webkit-line-clamp:2!important;}
.kr-link-preview .kr-link-desc{font-size:10px!important;line-height:1.45!important;margin-top:3px!important;-webkit-line-clamp:2!important;}
.kr-link-preview .kr-link-url{font-size:9px!important;line-height:1.3!important;margin-top:4px!important;}
.kr-link-preview .kr-link-open{width:25px!important;height:25px!important;margin-top:5px!important;border-radius:8px!important;}
.kr-link-preview .kr-link-open svg{width:14px!important;height:14px!important;}
.kr-link-preview .kr-link-image{order:2!important; flex:0 0 104px!important;width:104px!important;min-width:104px!important;height:auto!important;min-height:84px!important;max-height:118px!important;align-self:stretch!important;overflow:hidden!important;}
.kr-link-preview .kr-link-image img{display:block!important;width:100%!important;height:100%!important;min-height:84px!important;max-height:118px!important;object-fit:cover!important;}
@media(max-width:420px){.kr-feed-card .kr-link-preview,.kr-post-card .kr-link-preview,.kr-link-preview:not(.reels-caption .kr-link-preview):not(.reels-bottom .kr-link-preview){min-height:76px!important;border-radius:12px!important;}
.kr-link-preview .kr-link-preview-main{padding:8px 9px!important;}
.kr-link-preview .kr-link-image{flex-basis:88px!important;width:88px!important;min-width:88px!important;min-height:76px!important;}
.kr-link-preview .kr-link-image img{min-height:76px!important;}
.kr-link-preview .kr-link-title{font-size:11px!important;}
.kr-link-preview .kr-link-desc{font-size:9px!important;-webkit-line-clamp:2!important;}}

/* KRILZ v1.0.218 - simple unified login/signup page + profile onboarding */
#auth-page.kra{padding:calc(14px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom))!important;}
#auth-page.kra .auth-shell{width:min(100%,420px)!important;margin:0 auto!important;padding:26px 20px 18px!important;border-radius:28px!important;background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.035) 45%,rgba(255,255,255,.06))!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 26px 70px rgba(0,0,0,.55)!important;backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%);}
#auth-page.kra .auth-head{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:6px;margin:0 0 16px!important;}
#auth-page.kra .auth-logo{width:60px!important;height:60px!important;border-radius:18px!important;box-shadow:0 10px 30px rgba(255,36,80,.4),0 0 0 1px rgba(255,255,255,.2)!important;}
#auth-page.kra .auth-head h1{margin:6px 0 0!important;font-size:24px!important;font-weight:900!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#auth-page.kra .auth-head p{margin:0!important;font-size:13px!important;color:#c6cad4!important;-webkit-text-fill-color:#c6cad4!important;line-height:1.8!important;}
.kra-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:16px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.10);margin:0 0 16px;}
.kra-tab{height:44px;border:0;border-radius:12px;background:transparent;color:#b8bdc9;font:inherit;font-size:14.5px;font-weight:800;cursor:pointer;transition:background .2s,color .2s;}
.kra-tab.is-active{background:linear-gradient(150deg,#ff5a78,#ff1f52);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 20px rgba(255,22,73,.35);}
#auth-page.kra .auth-field{margin:0 0 12px!important;}
#auth-page.kra .auth-field label{display:block;font-size:13px!important;font-weight:800!important;color:#e9ebf1!important;-webkit-text-fill-color:#e9ebf1!important;margin:0 4px 6px!important;}
#auth-page.kra .auth-field input{width:100%!important;height:52px!important;box-sizing:border-box;border-radius:16px!important;padding:0 14px!important;font-size:15px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:rgba(0,0,0,.34)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:inset 0 2px 8px rgba(0,0,0,.3)!important;outline:0!important;}
#auth-page.kra .auth-field input:focus{border-color:rgba(255,49,87,.7)!important;box-shadow:inset 0 2px 8px rgba(0,0,0,.3),0 0 0 3px rgba(255,49,87,.18)!important;}
#auth-page.kra .auth-field input.auth-input-error{border-color:#ff4d6d!important;}
#auth-page.kra .auth-field input::placeholder{color:#8f95a4!important;-webkit-text-fill-color:#8f95a4!important;}
#auth-page.kra .auth-password-wrap{position:relative;}
#auth-page.kra .auth-password-wrap input{padding-left:46px!important;}
#auth-page.kra .auth-password-toggle{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;}
#auth-page.kra .auth-password-toggle svg{width:21px;height:21px;fill:none;stroke:#c6cad4;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
#auth-page.kra .auth-hint{font-size:11.5px!important;color:#a9aebb!important;margin:6px 4px 0!important;line-height:1.7;}
#auth-page.kra .auth-err{font-size:12px!important;color:#ff7a93!important;margin:6px 4px 0!important;}
#auth-page.kra .auth-submit-feedback{font-size:12.5px;line-height:1.9;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;color:#e9ebf1;background:rgba(255,255,255,.06);overflow-wrap:anywhere;}
#auth-page.kra .auth-submit-feedback.hidden{display:none!important;}
#auth-page.kra .auth-submit-feedback[data-state="error"]{color:#ff9aac;border-color:rgba(255,77,109,.38);background:rgba(255,45,92,.09);}
#auth-page.kra .auth-submit-feedback[data-state="success"]{color:#8ce6b1;border-color:rgba(46,204,113,.35);background:rgba(46,204,113,.08);}
#auth-page.kra .auth-terms-check{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:#c6cad4;margin:4px 2px 8px;line-height:1.8;}
#auth-page.kra .auth-terms-check input{margin-top:5px;accent-color:#ff2f5c;}
#auth-page.kra .auth-terms-check a{color:#ff7a93!important;}
#auth-page.kra .auth-submit{width:100%;height:54px;border:0;border-radius:17px;margin-top:4px;font:inherit;font-size:16px;font-weight:900;color:#fff!important;-webkit-text-fill-color:#fff!important;cursor:pointer;background:linear-gradient(150deg,#ff5a78,#ff1f52 58%,#d9083c)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 12px 28px rgba(255,22,73,.38)!important;}
#auth-page.kra .auth-submit *{color:#fff!important;-webkit-text-fill-color:#fff!important;mix-blend-mode:normal!important;}
#auth-page.kra .auth-submit:disabled{opacity:.6;}
#auth-page.kra .auth-switch-row{display:none!important;}
#reg-verify-form{display:flex;flex-direction:column;gap:12px;}
#reg-verify-form.hidden{display:none!important;}
#reg-verify-form p{margin:0;font-size:13px;line-height:1.9;color:#c6cad4;text-align:center;}
#reg-verify-form input{width:100%;height:58px;box-sizing:border-box;border-radius:16px;text-align:center;letter-spacing:10px;font-size:24px;font-weight:900;color:#fff;background:rgba(0,0,0,.34);border:1px solid rgba(255,255,255,.14);outline:0;}
#reg-verify-form input:focus{border-color:rgba(255,49,87,.7);box-shadow:0 0 0 3px rgba(255,49,87,.18);}
.kra-links{display:flex;justify-content:space-between;gap:8px;}
.kra-links button{border:0;background:transparent;color:#ff7a93;font:inherit;font-size:13px;font-weight:800;cursor:pointer;padding:6px 4px;}
#auth-page.kra .auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0 12px!important;color:#a9aebb!important;font-size:12px!important;}
#auth-page.kra .auth-divider::before,#auth-page.kra .auth-divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);}
#auth-page.kra .auth-divider span{padding:0!important;background:transparent!important;color:#a9aebb!important;}
#auth-page.kra .auth-legal{font-size:11.5px!important;line-height:1.9!important;color:#a9aebb!important;text-align:center;margin-top:14px!important;}

.kro{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(3,4,8,.78);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
.kro.hidden{display:none!important;}
body.kro-open{overflow:hidden!important;}
.kro-sheet{width:min(100%,460px);max-height:calc(100dvh - 28px);overflow-y:auto;padding:20px 18px 18px;border-radius:28px;color:#f8f9fb;direction:rtl;background:linear-gradient(160deg,rgba(255,255,255,.11),rgba(255,255,255,.04) 45%,rgba(20,21,29,.96));border:1px solid rgba(255,255,255,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 30px 80px rgba(0,0,0,.6);animation:kroIn .35s cubic-bezier(.2,.9,.3,1);}
@keyframes kroIn{from{opacity:0;transform:translateY(22px) scale(.97)}to{opacity:1;transform:none}}
.kro-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.kro-top h2{margin:0;font-size:20px;font-weight:900;}
.kro-skip{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#d7dae2;border-radius:12px;padding:7px 14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;}
.kro-sub{margin:6px 0 14px;font-size:13px;line-height:1.9;color:#c6cad4;}
.kro-avatar{position:relative;display:flex;align-items:center;justify-content:center;width:104px;height:104px;margin:0 auto 16px;border-radius:50%;overflow:hidden;cursor:pointer;background:linear-gradient(150deg,rgba(255,60,98,.22),rgba(255,60,98,.05));border:2px dashed rgba(255,90,120,.75);box-shadow:0 0 30px rgba(255,36,80,.25);}
.kro-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.kro-avatar img.hidden{display:none;}
#kro-avatar-ph{display:flex;flex-direction:column;align-items:center;gap:5px;color:#fff;}
#kro-avatar-ph.hidden{display:none;}
#kro-avatar-ph svg{width:28px;height:28px;fill:none;stroke:#ff6d8a;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
#kro-avatar-ph b{font-size:11.5px;font-weight:800;}
.kro-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.kro-field{margin:0 0 12px;min-width:0;}
.kro-field label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:800;color:#e9ebf1;margin:0 4px 6px;}
.kro-count{font-size:11px;color:#a9aebb;font-weight:600;}
.kro-field input,.kro-field textarea{width:100%;box-sizing:border-box;border-radius:16px;padding:0 14px;font:inherit;font-size:15px;color:#fff;background:rgba(0,0,0,.34);border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 2px 8px rgba(0,0,0,.3);outline:0;}
.kro-field input{height:50px;}
.kro-field textarea{padding:12px 14px;line-height:1.8;resize:none;min-height:88px;}
.kro-field input:focus,.kro-field textarea:focus{border-color:rgba(255,49,87,.7);box-shadow:inset 0 2px 8px rgba(0,0,0,.3),0 0 0 3px rgba(255,49,87,.18);}
.kro-field small{display:block;font-size:11.5px;color:#a9aebb;margin:6px 4px 0;}
.kro-wrap{position:relative;}
.kro-wrap input{padding-left:44px;}
.kro-state{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:22px;height:22px;display:none;}
.kro-state.ok,.kro-state.bad{display:block;}
.kro-state svg{width:22px;height:22px;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}
.kro-state.ok svg{stroke:#34d17a;}
.kro-state.bad svg{stroke:#ff4d6d;}
.kro .auth-err{font-size:12px;color:#ff7a93;margin:0 4px 10px;}
.kro .auth-err.hidden{display:none!important;}
.kro-save{width:100%;height:54px;border:0;border-radius:17px;font:inherit;font-size:16px;font-weight:900;color:#fff;cursor:pointer;background:linear-gradient(150deg,#ff5a78,#ff1f52 58%,#d9083c);box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 12px 28px rgba(255,22,73,.38);}
.kro-save.busy{opacity:.6;pointer-events:none;}


/* KRILZ v1.0.219 — guest browsing, login sheet, forgot password. */
.kr-head-login{display:none;height:36px;padding:0 16px;border:0;border-radius:999px;font:inherit;font-size:13px;font-weight:900;color:#fff;cursor:pointer;background:linear-gradient(150deg,#ff5a78,#ff1f52 60%,#d9083c);box-shadow:0 6px 16px rgba(255,22,73,.32)}
body.kr-guest-browse .kr-head-login{display:inline-flex;align-items:center;justify-content:center}
body.kr-guest-browse .kr-head-messages,body.kr-guest-browse .kr-head-settings{display:none!important}
#auth-page.kra .auth-forgot-link{display:block;align-self:flex-start;margin:-4px 2px 0;padding:6px 2px;border:0;background:transparent;color:#ff7a93;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer}
#auth-page.kra .auth-guest-row{display:flex;justify-content:center;margin-top:10px}
#auth-page.kra .auth-guest-btn{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#e9ebf1;font:inherit;font-size:13px;font-weight:800;border-radius:14px;padding:10px 18px;cursor:pointer;width:100%}
#auth-page.kra .auth-guest-btn:active{background:rgba(255,255,255,.1)}
.kra-forgot{display:flex;flex-direction:column;gap:12px}
.kra-forgot-title{margin:0;font-size:18px;font-weight:900;color:#fff;text-align:center}
.kra-forgot-copy{margin:0;font-size:13px;line-height:1.9;color:#a9aebb;text-align:center}
.kra-forgot-step2{display:flex;flex-direction:column;gap:12px}
#forgot-code{text-align:center;letter-spacing:8px;font-size:20px!important;font-weight:900}
#auth-page[data-auth-mode="forgot"] .auth-switch-row{display:none!important}
.kr-login-sheet{position:fixed;inset:0;z-index:100000;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .18s ease}
.kr-login-sheet.open{opacity:1}
.kr-login-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.kr-login-card{position:relative;width:min(100%,520px);box-sizing:border-box;padding:10px 20px calc(20px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:#111318;border:1px solid rgba(255,255,255,.1);border-bottom:0;box-shadow:0 -18px 50px rgba(0,0,0,.55);display:flex;flex-direction:column;align-items:stretch;gap:10px;text-align:center;direction:rtl;transform:translateY(24px);transition:transform .2s ease}
.kr-login-sheet.open .kr-login-card{transform:none}
.kr-login-grip{width:42px;height:4px;border-radius:4px;background:rgba(255,255,255,.22);margin:0 auto 6px}
.kr-login-ic{width:52px;height:52px;margin:2px auto 0;border-radius:16px;display:flex;align-items:center;justify-content:center;background:rgba(255,49,87,.12)}
.kr-login-ic svg{width:26px;height:26px;fill:none;stroke:#ff5a78;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-login-card h3{margin:4px 0 0;font-size:18px;font-weight:900;color:#fff}
.kr-login-card p{margin:0 0 6px;font-size:13px;line-height:1.9;color:#a9aebb}
.kr-login-card button{-webkit-text-fill-color:currentColor;height:48px;border-radius:15px;font:inherit;font-size:15px;font-weight:900;cursor:pointer;border:0}
.kr-login-primary{color:#fff!important;-webkit-text-fill-color:#fff!important;background:linear-gradient(150deg,#ff5a78,#ff1f52 58%,#d9083c);box-shadow:0 10px 24px rgba(255,22,73,.35)}
.kr-login-secondary{color:#fff!important;-webkit-text-fill-color:#fff!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important}
.kr-login-later{height:40px!important;color:#9a9faa!important;-webkit-text-fill-color:#9a9faa!important;background:transparent;font-size:13px!important}
body.kr-login-sheet-open{overflow:hidden}
/* v1.0.219: the anti-bot honeypot field was missing its hiding rule and showed up as an empty input above the username. */
.auth-honeypot{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.kra-tab.is-active{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* KRILZ v1.0.196 — context menus open as a half-screen bottom sheet (like the comments sheet) */
[data-kr-sheeted]{clip-path:inset(50%)!important;pointer-events:none!important;translate:none!important}
.kr-menu-ghost[data-kr-sheeted]{display:none!important}
body.kr-menu-sheet-open{overflow:hidden!important}
#kr-menu-sheet{position:fixed;inset:0;z-index:131000;display:none;align-items:flex-end;justify-content:center;direction:rtl}
#kr-menu-sheet.open{display:flex}
#kr-menu-sheet .kr-menu-backdrop{position:absolute;inset:0;background:rgba(2,3,7,.62);-webkit-backdrop-filter:blur(12px) saturate(150%);backdrop-filter:blur(12px) saturate(150%);animation:krMenuFade .22s ease-out}
#kr-menu-sheet .kr-menu-panel{position:relative;width:100%;max-width:620px;max-height:min(62dvh,560px);display:flex;flex-direction:column;overflow:hidden;background:#111216;color:#f4f4f6;border:1px solid rgba(255,255,255,.1);border-bottom:0;border-radius:24px 24px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.5);padding-bottom:calc(14px + env(safe-area-inset-bottom));animation:krMenuUp .28s cubic-bezier(.2,.9,.25,1)}
#kr-menu-sheet .kr-menu-head{position:relative;display:flex;align-items:center;justify-content:space-between;padding:20px 16px 10px;border-bottom:1px solid rgba(255,255,255,.08)}
#kr-menu-sheet .kr-menu-head::before{content:"";position:absolute;top:8px;left:50%;width:42px;height:4px;margin-left:-21px;border-radius:4px;background:rgba(255,255,255,.28)}
#kr-menu-sheet .kr-menu-title{font-size:16px;font-weight:900;color:#fff}
#kr-menu-sheet .kr-menu-close{width:36px;height:36px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
#kr-menu-sheet .kr-menu-list{display:flex;flex-direction:column;gap:8px;padding:12px 14px 4px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#kr-menu-sheet .kr-menu-list button{all:unset;box-sizing:border-box;width:100%;min-height:54px;display:flex;align-items:center;gap:12px;padding:0 16px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);color:#f4f4f6;font:inherit;font-size:15px;font-weight:700;text-align:right;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s,transform .1s}
#kr-menu-sheet .kr-menu-list button:active{background:rgba(255,255,255,.1);transform:scale(.985)}
#kr-menu-sheet .kr-menu-list button svg{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#kr-menu-sheet .kr-menu-list button.is-danger{color:#ff5a6e;background:rgba(255,49,87,.1);border-color:rgba(255,49,87,.25)}
@keyframes krMenuUp{from{transform:translateY(100%)}to{transform:none}}
@keyframes krMenuFade{from{opacity:0}to{opacity:1}}
@media(min-width:700px){#kr-menu-sheet{align-items:center}#kr-menu-sheet .kr-menu-panel{border-radius:28px;border-bottom:1px solid rgba(255,255,255,.12)}}
@media(prefers-reduced-motion:reduce){#kr-menu-sheet .kr-menu-panel,#kr-menu-sheet .kr-menu-backdrop{animation:none}}

/* KRILZ v1.0.219 — settings status card + device details sheet. */
.kr-status-card{display:grid;grid-template-columns:1.05fr 1fr;gap:10px;margin:0 0 12px;padding:12px;border-radius:22px;background:linear-gradient(155deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.1);direction:rtl}
.kr-st-time{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
.kr-st-time b{font-size:25px;font-weight:900;letter-spacing:.5px;color:#fff;font-variant-numeric:tabular-nums;direction:ltr;text-align:right}
.kr-st-time small{font-size:11.5px;line-height:1.6;color:#a9aebb}
.kr-st-side{display:flex;flex-direction:column;gap:8px;min-width:0}
.kr-st-ping{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:14px;background:rgba(0,0,0,.28);font-size:13px;font-weight:900;color:#fff}
.kr-st-ping small{margin-right:auto;font-size:10.5px;font-weight:700;color:#8e93a0}
.kr-st-ping i{width:9px;height:9px;border-radius:50%;background:#6b7280;flex:0 0 auto}
.kr-st-ping i.good{background:#2ecc71;box-shadow:0 0 8px #2ecc71}.kr-st-ping i.mid{background:#f1c40f}.kr-st-ping i.bad{background:#ff3b30}
.kr-st-dev{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:rgba(255,49,87,.1);color:#ffd5dc;-webkit-text-fill-color:#ffd5dc;font:inherit;font-size:12px;font-weight:800;cursor:pointer;min-width:0;text-align:right}
.kr-st-dev span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.kr-st-dev svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:#ff5a78;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kr-device-sheet{position:fixed;inset:0;z-index:100001;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .18s}
.kr-device-sheet.open{opacity:1}
.kr-ds-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(3px)}
.kr-ds-card{position:relative;width:min(100%,560px);max-height:72dvh;display:flex;flex-direction:column;box-sizing:border-box;border-radius:26px 26px 0 0;background:#111318;border:1px solid rgba(255,255,255,.1);border-bottom:0;direction:rtl;transform:translateY(24px);transition:transform .2s}
.kr-device-sheet.open .kr-ds-card{transform:none}
.kr-ds-grip{width:42px;height:4px;border-radius:4px;background:rgba(255,255,255,.22);margin:8px auto 0}
.kr-ds-head{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 8px;color:#fff;font-size:16px}
.kr-ds-head button{width:34px;height:34px;border-radius:11px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;-webkit-text-fill-color:#fff;font-size:21px;line-height:1;cursor:pointer}
.kr-ds-list{overflow-y:auto;padding:4px 14px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px}
.kr-ds-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;border-radius:14px;background:rgba(255,255,255,.05);font-size:13px;color:#a9aebb}
.kr-ds-row b{color:#fff;font-weight:800;text-align:left;word-break:break-all;direction:ltr}
body.kr-device-sheet-open{overflow:hidden}

#auth-page.kra .auth-captcha-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:100%;margin:8px 0 12px;overflow:hidden;}
#auth-page.kra .auth-captcha-wrap iframe{max-width:100%;}


#auth-page.kra .krilz-firstparty-captcha{width:min(100%,310px);box-sizing:border-box;padding:12px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.045);color:#f4f5f8;text-align:center;font-size:13px;line-height:1.8}
#auth-page.kra .krilz-firstparty-captcha.hidden{display:none!important}
#auth-page.kra .krilz-firstparty-controls{display:flex;gap:8px;margin-top:9px;align-items:center}
#auth-page.kra .krilz-firstparty-controls input{min-width:0;width:90px;flex:1;box-sizing:border-box;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(0,0,0,.25);color:#fff;padding:9px;text-align:center;direction:ltr}
#auth-page.kra .krilz-firstparty-controls button{border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(255,255,255,.09);color:#fff;padding:9px 10px;cursor:pointer;white-space:nowrap}
#auth-page.kra #firstparty-captcha-hint{margin-top:7px;color:rgba(255,255,255,.62);font-size:11px}

.kr-klipy-tabs{display:flex;gap:6px;margin:0 0 8px}.kr-klipy-tabs button{flex:1;min-height:32px;border:1px solid var(--kr-line);border-radius:10px;background:var(--kr-soft);color:var(--kr-ink);font-size:11px;font-weight:700;cursor:pointer}.kr-klipy-tabs button.active{background:var(--p);border-color:var(--p);color:#fff}
.kap{--kap:0%;--kap-accent:#ff2450;--kap-ink:#f4f4f6;--kap-sub:#8d919d;--kap-track:rgba(255,255,255,.2);position:relative;display:flex;flex-direction:column;gap:1px;width:100%;direction:ltr;-webkit-user-select:none;user-select:none}
.kap audio{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
.kap-main{display:flex;align-items:center;gap:10px}
.kap-play{position:relative;flex:0 0 40px;width:40px;height:40px;padding:0;border:2px solid var(--kap-accent)!important;border-radius:50%;background:#fff!important;color:var(--kap-accent)!important;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 0 14px rgba(255,36,80,.28);transition:transform .15s ease}
.kap-play:active{transform:scale(.94)}
.kap-play svg{width:18px;height:18px;fill:currentColor;stroke:none}
.kap-play svg path{fill:currentColor}
.kap-play:focus-visible,.kap-btn:focus-visible,.kap-rate:focus-visible{outline:2px solid var(--kap-accent);outline-offset:2px}
.kap-wave{position:relative;flex:1 1 auto;min-width:0;height:32px;border-radius:6px;cursor:pointer;touch-action:pan-y;outline:0}
.kap-wave:focus-visible{outline:2px solid var(--kap-accent);outline-offset:3px}
.kap-wave-base,.kap-wave-fill{position:absolute;inset:0;display:flex;align-items:center;gap:1.5px;pointer-events:none}
.kap-wave-fill{clip-path:inset(0 calc(100% - var(--kap)) 0 0)}
.kap-wave i{display:block;flex:1 1 0;min-width:1px;height:var(--h,50%);border-radius:1px;transform-origin:center;transition:height .3s ease}
.kap-wave-base i{background:var(--kap-track)}
.kap-wave-fill i{background:var(--kap-accent)}
.kap-wave::after{content:"";position:absolute;top:0;bottom:0;left:var(--kap);width:2px;margin-left:-1px;border-radius:2px;background:var(--kap-accent);opacity:0;transition:opacity .15s ease;pointer-events:none}
.kap.is-seeking .kap-wave::after,.kap-wave:focus-visible::after{opacity:1}
.kap.is-playing .kap-wave-fill i{animation:krWavePulse 1s ease-in-out infinite;animation-delay:calc(var(--i,0)*-64ms)}
.kap.is-wave-loading .kap-wave-base i{animation:kapShimmer 1.3s ease-in-out infinite;animation-delay:calc(var(--i,0)*-40ms)}
@keyframes kapShimmer{0%,100%{opacity:.45}50%{opacity:1}}
.kap-bar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;min-height:30px}
.kap-time{flex:0 0 auto;color:var(--kap-sub);font-size:11.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
.kap-tools{display:flex;align-items:center;gap:1px;min-width:0}
.kap-btn{width:30px;height:30px;padding:0;border:0!important;border-radius:50%;background:transparent!important;color:var(--kap-sub)!important;display:flex;align-items:center;justify-content:center;cursor:pointer}
.kap-btn svg{width:18px;height:18px}
.kap-btn:hover,.kap-btn:active{background:rgba(255,255,255,.08)!important;color:var(--kap-ink)!important}
.kap-rate{min-width:38px;height:24px;margin:0 3px;padding:0 8px;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px;background:rgba(255,255,255,.06)!important;color:var(--kap-ink)!important;font:700 11.5px/1 Tahoma,Arial,sans-serif;cursor:pointer}
.kap-vol{--v:100%;-webkit-appearance:none;appearance:none;flex:0 0 auto;width:60px;height:22px;margin:0;padding:0;background:transparent;cursor:pointer;touch-action:none;outline:0}
.kap-vol::-webkit-slider-runnable-track{height:3px;border-radius:99px;background:linear-gradient(to right,var(--kap-accent) var(--v),rgba(255,255,255,.2) var(--v))}
.kap-vol::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:11px;height:11px;margin-top:-4px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.kap-vol::-moz-range-track{height:3px;border-radius:99px;background:rgba(255,255,255,.2)}
.kap-vol::-moz-range-progress{height:3px;border-radius:99px;background:var(--kap-accent)}
.kap-vol::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.kap-vol:focus-visible{outline:2px solid var(--kap-accent);outline-offset:2px;border-radius:99px}
.kap.is-loading .kap-play::after{content:"";position:absolute;inset:-5px;border:2px solid transparent;border-top-color:var(--kap-accent);border-radius:50%;animation:kapSpin .8s linear infinite}
@keyframes kapSpin{to{transform:rotate(360deg)}}
.kap.has-error .kap-main,.kap.has-error .kap-bar{opacity:.4;pointer-events:none}
.kap-error{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;padding:6px 9px;border-radius:10px;background:rgba(255,36,80,.12);color:#ff7a93;font-size:12px;direction:rtl}
.kap-error.hidden{display:none}
.kap-error button{flex:0 0 auto;padding:4px 10px;border:0!important;border-radius:8px;background:var(--kap-accent)!important;color:#fff!important;font:inherit;cursor:pointer}
@media(pointer:coarse){.kap-vol{display:none}.kap-btn{width:36px;height:36px}.kap-rate{height:28px}.kap-bar{min-height:36px}.kap-play{flex-basis:44px;width:44px;height:44px}}
@media(max-width:380px){.kap-vol{display:none}.kap-main{gap:8px}}
@media (prefers-reduced-motion:reduce){.kap.is-playing .kap-wave-fill i,.kap.is-wave-loading .kap-wave-base i{animation:none}.kap.is-loading .kap-play::after{animation-duration:2.4s}.kap-wave i{transition:none}}
body:not(.k-reels-mode) .kr-feed-category-nav{gap:4px!important;padding:2px 2px 6px!important;justify-content:space-between!important}
body:not(.k-reels-mode) .kr-cat-item{flex:1 1 0!important;min-width:0!important;max-width:none!important;gap:4px!important;padding:0 2px 7px!important;font-size:11px!important}
body:not(.k-reels-mode) .kr-cat-icon{width:40px!important;height:40px!important;border-radius:14px!important;box-shadow:none!important}
body:not(.k-reels-mode) .kr-cat-icon svg{width:21px!important;height:21px!important}
body:not(.k-reels-mode) .kr-cat-item.active .kr-cat-icon{box-shadow:0 0 12px rgba(255,36,80,.2)!important}
body:not(.k-reels-mode) .kr-cat-item.active:after{left:22%!important;right:22%!important;height:2px!important;box-shadow:none!important}
body:not(.k-reels-mode) .kr-feed-card{padding:9px 12px 2px!important;margin:0 0 10px!important;border-radius:20px!important;box-shadow:0 8px 24px rgba(0,0,0,.24)!important}
body:not(.k-reels-mode) .kr-post-menu{position:absolute!important;top:6px;left:6px;width:32px!important;height:32px!important;z-index:3;font-size:22px}
body:not(.k-reels-mode) .kr-post-menu-box{top:40px;left:10px}
body:not(.k-reels-mode) .kr-post-head{gap:9px!important;padding-left:30px}
body:not(.k-reels-mode) .kr-avatar-ring{width:38px!important;height:38px!important;flex:0 0 38px!important;padding:2px!important}
body:not(.k-reels-mode) .kr-avatar-ring svg{width:18px!important;height:18px!important}
body:not(.k-reels-mode) .kr-post-name{display:flex;align-items:baseline;gap:6px!important;font-size:14px!important;line-height:1.35!important;white-space:nowrap}
body:not(.k-reels-mode) .kr-post-name>span:first-child{overflow:hidden;text-overflow:ellipsis;min-width:0}
body:not(.k-reels-mode) .kr-post-handle{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;color:#858995;font-size:11.5px;font-weight:600}
body:not(.k-reels-mode) .kr-verified{width:16px;height:16px;align-self:center}
body:not(.k-reels-mode) .kr-post-meta{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;margin-top:1px!important;font-size:11px!important;line-height:1.4!important;white-space:nowrap}
body:not(.k-reels-mode) .kr-post-meta>span:first-child{max-width:none;overflow:visible}
body:not(.k-reels-mode) .kr-post-meta svg{width:13px!important;height:13px!important}
body:not(.k-reels-mode) .kr-post-body{margin-top:7px}
body:not(.k-reels-mode) .kr-post-description{font-size:14.5px!important;line-height:1.7!important}
body:not(.k-reels-mode) .kr-post-description:empty{display:none}
body:not(.k-reels-mode) .kr-feed-card .kr-post-tags{margin-top:5px}
body:not(.k-reels-mode) .kr-audio-card{padding:8px 10px 2px;margin-top:8px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
body:not(.k-reels-mode) .kr-post-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;margin-top:8px!important;padding-top:0!important}
body:not(.k-reels-mode) .kr-action{flex-direction:row!important;gap:5px!important;min-height:42px!important;padding:0 2px!important;border-radius:12px;position:relative}
body:not(.k-reels-mode) .kr-action+.kr-action:before{content:"";position:absolute;top:12px;bottom:12px;right:-0.5px;width:1px;background:rgba(255,255,255,.08)}
body:not(.k-reels-mode) .kr-action svg{width:19px!important;height:19px!important}
body:not(.k-reels-mode) .kr-action span{font-size:11.5px!important;min-height:0!important;display:inline!important}
body:not(.k-reels-mode) .kr-share-action span{display:none!important}
@media(max-width:360px){body:not(.k-reels-mode) .kr-action{gap:3px!important}body:not(.k-reels-mode) .kr-action span{font-size:10.5px!important}}

/* Bottom nav */
html body #kr-bottom-nav.kr-bottom-nav{overflow:visible!important;height:74px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;padding:6px 8px!important;border-radius:24px!important;background:#0e0e11!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 14px 34px rgba(0,0,0,.5)!important;backdrop-filter:none!important}
html body #kr-bottom-nav.kr-bottom-nav::before{display:none!important}
html body #kr-bottom-nav.kr-bottom-nav>button{color:#8b8b93!important;font-size:12px!important;font-weight:800!important;gap:5px!important;text-shadow:none!important}
html body #kr-bottom-nav.kr-bottom-nav>button.active{color:#ff2d55!important}
html body #kr-bottom-nav .kr-nav-icon{width:30px!important;height:30px!important;filter:none!important}
html body #kr-bottom-nav .kr-nav-icon svg,#kr-bottom-nav button .kr-nav-icon svg{width:28px!important;height:28px!important;stroke-width:1.9!important}
html body #kr-bottom-nav>button.active .kr-nav-icon{filter:drop-shadow(0 0 8px rgba(255,45,85,.35))!important}
html body #kr-bottom-nav .kr-create-nav{width:64px!important;height:64px!important;border-radius:20px!important;justify-self:center!important;align-self:center!important;transform:translateY(-14px)!important;overflow:visible!important}
html body #kr-bottom-nav .kr-create-nav::before{content:"";position:absolute;left:50%;top:-9px;width:92px;height:calc(100% + 31px);transform:translateX(-50%);z-index:-1;background:#0a0a0d;border-radius:28px 28px 20px 20px;box-shadow:0 -1px 0 rgba(255,255,255,.05)}
html body #kr-bottom-nav .kr-create-nav .kr-create-plus{width:64px!important;height:64px!important;border-radius:20px!important;border:0!important;background:linear-gradient(145deg,#ff3d62,#ff1f4b)!important;box-shadow:0 10px 24px rgba(255,31,75,.38),inset 0 1px 0 rgba(255,255,255,.28)!important;display:grid!important;place-items:center!important;font-size:0!important}
html body #kr-bottom-nav .kr-create-plus svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round}
html body #kr-bottom-nav .kr-create-nav:active .kr-create-plus{transform:scale(.94)}
@media(max-width:380px){html body #kr-bottom-nav.kr-bottom-nav>button{font-size:11px!important}html body #kr-bottom-nav .kr-nav-icon svg{width:24px!important;height:24px!important}html body #kr-bottom-nav .kr-create-nav,html body #kr-bottom-nav .kr-create-nav .kr-create-plus{width:56px!important;height:56px!important;border-radius:18px!important}}

/* Profile reels */
#user-profile-overlay.kr-profile-redesign .kr-profile-grid.kr-profile-reels{grid-template-columns:repeat(3,1fr);gap:2px;padding:2px 0 calc(24px + env(safe-area-inset-bottom,0px));}
#user-profile-overlay.kr-profile-redesign .kr-profile-reels .kr-reel-tile{aspect-ratio:9/16;border-radius:0;outline:none;}
#user-profile-overlay.kr-profile-redesign .kr-profile-reels .kr-reel-tile:focus-visible{box-shadow:inset 0 0 0 2px #fff;}
#user-profile-overlay.kr-profile-redesign .kr-profile-reels .kr-reel-tile video{pointer-events:none;}
#user-profile-overlay.kr-profile-redesign .kr-profile-reels .tile-overlay{align-items:flex-end;justify-content:space-between;gap:6px;font-size:11px;font-weight:700;padding:8px 7px;background:linear-gradient(transparent 60%,rgba(0,0,0,.7));}
#user-profile-overlay.kr-profile-redesign .kr-profile-reels .tile-overlay span{display:inline-flex;align-items:center;gap:3px;text-shadow:0 1px 3px #000;}
@media (min-width:700px){#user-profile-overlay.kr-profile-redesign .kr-profile-grid.kr-profile-reels{grid-template-columns:repeat(4,1fr);gap:4px;}}

/* Post editor */
#post-edit-page .kru-sheet{max-width:640px;}
#post-edit-page .kre2-body{gap:10px;padding:8px 10px calc(16px + env(safe-area-inset-bottom,0px));}
#post-edit-page .kre2-card{background:linear-gradient(150deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:10px 12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12);}
#post-edit-page .kre2-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:#e9eaf0;margin-bottom:6px;}
#post-edit-page .kre2-label svg{width:14px;height:14px;fill:none;stroke:#ff4f70;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}
#post-edit-page .kre2-preview{padding:10px;display:flex;flex-direction:column;gap:8px;}
#post-edit-page .kre2-pv-head{display:flex;align-items:center;gap:8px;direction:ltr;}
#post-edit-page .kre2-pv-media{position:relative;width:100%;min-height:200px;max-height:46dvh;border-radius:14px;overflow:hidden;background:#07080b url("/assets/img/krilz-profile-art.svg") center/cover no-repeat;display:flex;align-items:center;justify-content:center;}
#post-edit-page .kre2-pv-media:not(:empty){background-image:none;}
#post-edit-page .kre2-pv-media img,#post-edit-page .kre2-pv-media video{display:block;width:100%;height:auto;max-height:46dvh;object-fit:contain;background:#000;}
#post-edit-page .kre2-pv-media audio{width:calc(100% - 24px);margin:24px 12px;}
#post-edit-page .kre2-pv-text{margin:0;direction:rtl;text-align:right;font-size:13px;line-height:1.7;color:#e6e7ee;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;}
#post-edit-page .kre2-media-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
#post-edit-page .kre2-picker{display:flex;flex-direction:row;gap:6px;padding:0;width:auto;flex:1 1 auto;}
#post-edit-page .kre2-picker .kru-pick-opt{flex:1 1 0;flex-direction:row;justify-content:center;gap:6px;min-height:38px;padding:4px 8px;font-size:12px;}
#post-edit-page .kre2-picker .kru-pick-opt.is-active{border-color:rgba(255,49,87,.7);background:rgba(255,49,87,.16);}
#post-edit-page .kre2-remove{display:flex;align-items:center;gap:6px;font-size:12px;color:#ffb3c0;cursor:pointer;min-height:38px;}
#post-edit-page .kre2-remove[hidden]{display:none;}
#post-edit-page .kre2-remove input{width:16px;height:16px;accent-color:#ff2d62;margin:0;}
#post-edit-page .kre2-hint{direction:ltr;text-align:left;font-size:10.5px;color:#8b8d98;line-height:1.5;}
#post-edit-page .kre2-caption,#post-edit-page .kre2-input,#post-edit-page .kre2-select{width:100%;box-sizing:border-box;color:#f8f9fb;font:inherit;font-size:14px;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.12);border-radius:12px;outline:0;}
#post-edit-page .kre2-caption{min-height:84px;padding:9px 12px;line-height:1.8;resize:vertical;}
#post-edit-page .kre2-input,#post-edit-page .kre2-select{height:40px;padding:0 12px;color-scheme:dark;}
#post-edit-page .kre2-caption:focus,#post-edit-page .kre2-input:focus,#post-edit-page .kre2-select:focus{border-color:rgba(255,49,87,.6);box-shadow:0 0 0 3px rgba(255,49,87,.16);}
#post-edit-page .kre2-select option{background:#1a1b20;color:#f1f1f5;}
#post-edit-page .kre2-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;}
#post-edit-page .kre2-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
#post-edit-page .kre2-grid .kre2-field:first-child{grid-column:1/-1;}
#post-edit-page .kre2-field{min-width:0;}
#post-edit-page .kre2-settings{padding:2px 12px;}
#post-edit-page .kre2-switch{display:flex;align-items:center;gap:12px;padding:9px 0;}
#post-edit-page .kre2-switch+.kre2-switch{border-top:1px solid rgba(255,255,255,.07);}
#post-edit-page .kre2-switch>div{flex:1;min-width:0;}
#post-edit-page .kre2-switch b{display:block;font-size:13px;font-weight:800;}
#post-edit-page .kre2-switch small{display:block;font-size:11px;color:#a9aebb;margin-top:1px;line-height:1.5;}
@media(max-width:380px){#post-edit-page .kre2-grid{grid-template-columns:1fr;}}
#post-edit-page .kre2-picker.kru-picker{position:static;inset:auto;align-items:stretch;justify-content:flex-start;text-align:initial;}
/* Editor player */
.krp{--krp-a:#ff2d62;position:relative;width:100%;background:#000;color:#fff;overflow:hidden;border-radius:inherit;outline:0;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;font-size:12px;}
.krp:focus-visible{box-shadow:inset 0 0 0 2px var(--krp-a);}
.krp svg{width:20px;height:20px;fill:currentColor;display:block;}
.krp svg.s{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.krp-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;background:#000;cursor:pointer;}
.krp .krp-media{display:block;width:100%;height:auto;max-height:46dvh;object-fit:contain;background:#000;}
.krp-audio .krp-media{display:none;}
.krp.is-full{display:flex;flex-direction:column;justify-content:center;border-radius:0;}
.krp.is-full .krp-stage{flex:1;min-height:0;}
.krp.is-full .krp-media{width:100%;height:100%;max-height:none;}
.krp-big{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(10,10,14,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;display:grid;place-items:center;cursor:pointer;transition:opacity .2s,transform .2s;box-shadow:0 8px 28px rgba(0,0,0,.45);}
.krp-big svg{width:28px;height:28px;}
.krp-big:active{transform:scale(.94);}
.krp:not(.is-paused):not(.is-ended) .krp-big{opacity:0;pointer-events:none;transform:scale(.8);}
.krp.is-loading .krp-big{opacity:.0;}
.krp.is-loading .krp-stage::after{content:"";position:absolute;inset:0;margin:auto;width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:var(--krp-a);animation:krpSpin .8s linear infinite;pointer-events:none;}
@keyframes krpSpin{to{transform:rotate(360deg);}}
.krp-status{position:absolute;left:0;right:0;top:12px;text-align:center;font-size:12px;font-weight:700;color:#ffd5dd;pointer-events:none;opacity:0;direction:rtl;}
.krp.has-status .krp-status{opacity:1;}
.krp-art{display:flex;align-items:center;justify-content:center;height:96px;background:radial-gradient(circle at 50% 0,#3a1a28,#12131a 70%);position:relative;}
.krp-art>svg{width:44px;height:44px;color:#ff5a78;}
.krp-audio{background:#12131a;}
.krp-bar{position:absolute;left:0;right:0;bottom:0;padding:22px 10px 8px;background:linear-gradient(transparent,rgba(0,0,0,.78));transition:opacity .25s;}
.krp-audio .krp-bar{position:relative;padding:8px 10px;background:#12131a;}
.krp.is-idle .krp-bar{opacity:0;pointer-events:none;}
.krp.is-idle .krp-stage{cursor:none;}
.krp.is-full .krp-bar{position:relative;background:#000;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));}
.krp-seek{position:relative;height:22px;display:flex;align-items:center;cursor:pointer;touch-action:none;outline:0;}
.krp-seek::before{content:"";position:absolute;left:0;right:0;height:4px;border-radius:3px;background:rgba(255,255,255,.22);transition:height .15s;}
.krp-seek:hover::before,.krp-seek.is-drag::before,.krp-seek:focus-visible::before{height:6px;}
.krp-buf,.krp-fill{position:absolute;left:0;height:4px;border-radius:3px;pointer-events:none;transition:height .15s;}
.krp-seek:hover .krp-buf,.krp-seek:hover .krp-fill,.krp-seek.is-drag .krp-buf,.krp-seek.is-drag .krp-fill,.krp-seek:focus-visible .krp-buf,.krp-seek:focus-visible .krp-fill{height:6px;}
.krp-buf{width:0;background:rgba(255,255,255,.34);}
.krp-fill{width:0;background:linear-gradient(90deg,#ff5a78,var(--krp-a));}
.krp-knob{position:absolute;left:0;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.5);transform:scale(0);transition:transform .15s;pointer-events:none;}
.krp-seek:hover .krp-knob,.krp-seek.is-drag .krp-knob,.krp-seek:focus-visible .krp-knob{transform:scale(1);}
.krp-seek.is-disabled{opacity:.5;cursor:default;}
.krp-row{display:flex;align-items:center;gap:4px;min-height:36px;}
.krp-btn{width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0;font:inherit;font-weight:800;transition:background .15s;}
.krp-btn:hover{background:rgba(255,255,255,.14);}
.krp-btn:focus-visible{outline:2px solid var(--krp-a);outline-offset:-2px;}
.krp-btn:active{transform:scale(.94);}
.krp-time{font-size:12px;font-weight:700;color:#e6e7ee;font-variant-numeric:tabular-nums;margin:0 6px;white-space:nowrap;}
.krp-sp{flex:1;}
.krp-vol-wrap{display:flex;align-items:center;gap:2px;}
.krp-vol{position:relative;width:64px;height:22px;display:flex;align-items:center;cursor:pointer;touch-action:none;outline:0;}
.krp-vol::before{content:"";position:absolute;left:0;right:0;height:4px;border-radius:3px;background:rgba(255,255,255,.22);}
.krp-vol-fill{position:relative;height:4px;border-radius:3px;background:#fff;pointer-events:none;}
.krp-vol:focus-visible::before{outline:2px solid var(--krp-a);outline-offset:3px;}
.krp-speed{width:auto;min-width:42px;padding:0 8px;font-size:12px;}
.krp-speed-wrap{position:relative;}
.krp-menu{position:absolute;right:0;bottom:calc(100% + 6px);min-width:112px;padding:5px;border-radius:14px;background:rgba(22,23,31,.97);border:1px solid rgba(255,255,255,.14);box-shadow:0 14px 36px rgba(0,0,0,.6);z-index:5;direction:rtl;}
.krp-menu[hidden]{display:none;}
.krp-menu-item{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:10px;background:transparent;color:#e8e9ef;font:inherit;font-size:13px;font-weight:700;padding:8px 12px;cursor:pointer;text-align:right;}
.krp-menu-item:hover,.krp-menu-item:focus-visible{background:rgba(255,255,255,.1);outline:0;}
.krp-menu-item[aria-checked="true"]{color:#ff5a78;background:rgba(255,49,87,.12);}
@media(max-width:480px){.krp-vol{display:none;}.krp-time{margin:0 2px;}}
@media(prefers-reduced-motion:reduce){.krp *{transition:none!important;animation:none!important;}}
#post-edit-page .kre2-pv-media.is-audio{background:#12131a;}
#post-edit-page .kre2-pv-media .krp{border-radius:14px;}
/* Editor select */
.krs{position:relative;}
.krs-native{position:absolute!important;opacity:0;pointer-events:none;width:1px;height:1px;left:0;top:0;}
.krs-btn{width:100%;height:40px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(0,0,0,.3);color:#f8f9fb;font:inherit;font-size:14px;cursor:pointer;text-align:right;transition:border-color .15s,box-shadow .15s;}
.krs-btn:hover{border-color:rgba(255,255,255,.24);}
.krs-btn:focus-visible,.krs-btn[aria-expanded="true"]{outline:0;border-color:rgba(255,49,87,.6);box-shadow:0 0 0 3px rgba(255,49,87,.16);}
.krs-btn svg{width:16px;height:16px;flex:0 0 auto;color:#a9aebb;transition:transform .2s;}
.krs-btn[aria-expanded="true"] svg{transform:rotate(180deg);}
.krs-btn svg.s,.krs-opt svg.s{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.krs-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.krs-sheet{position:fixed;inset:0;z-index:200000;direction:rtl;}
.krs-sheet[hidden]{display:none;}
.krs-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:krsFade .2s ease;}
.krs-panel{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,520px);max-height:72dvh;display:flex;flex-direction:column;border-radius:22px 22px 0 0;background:linear-gradient(180deg,#1a1b25,#0e0f15);border:1px solid rgba(255,255,255,.12);border-bottom:0;box-shadow:0 -18px 50px rgba(0,0,0,.6);color:#f4f5f8;animation:krsUp .26s cubic-bezier(.2,.9,.3,1);padding-bottom:env(safe-area-inset-bottom,0px);}
.krs-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 8px;}
.krs-title{font-size:15px;font-weight:800;}
.krs-close{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.09);color:#fff;font-size:20px;line-height:1;cursor:pointer;}
.krs-close:focus-visible,.krs-opt:focus-visible{outline:2px solid #ff315d;outline-offset:-2px;}
.krs-list{overflow-y:auto;overscroll-behavior:contain;padding:4px 10px 12px;display:flex;flex-direction:column;gap:4px;}
.krs-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:0 14px;border:0;border-radius:14px;background:transparent;color:#e8e9ef;font:inherit;font-size:14.5px;font-weight:700;text-align:right;cursor:pointer;}
.krs-opt svg{width:18px;height:18px;opacity:0;color:#ff5a78;flex:0 0 auto;}
.krs-opt:hover{background:rgba(255,255,255,.07);}
.krs-opt.is-on{background:rgba(255,49,87,.13);color:#fff;}
.krs-opt.is-on svg{opacity:1;}
@keyframes krsUp{from{transform:translate(-50%,40px);opacity:0;}to{transform:translate(-50%,0);opacity:1;}}
@keyframes krsFade{from{opacity:0;}to{opacity:1;}}
@media(min-width:700px){.krs-panel{bottom:auto;top:50%;transform:translate(-50%,-50%);width:min(92%,420px);border-radius:22px;border-bottom:1px solid rgba(255,255,255,.12);animation:krsPop .2s ease;}@keyframes krsPop{from{transform:translate(-50%,-48%);opacity:0;}to{transform:translate(-50%,-50%);opacity:1;}}}
@media(prefers-reduced-motion:reduce){.krs-panel,.krs-backdrop{animation:none;}}
/* Editor checkbox */
#post-edit-page .kre2-remove input{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:7px;border:1.5px solid rgba(255,255,255,.3);background:rgba(255,255,255,.05);display:grid;place-items:center;cursor:pointer;transition:background .15s,border-color .15s;}
#post-edit-page .kre2-remove input::after{content:"";width:10px;height:6px;border-left:2.2px solid #fff;border-bottom:2.2px solid #fff;transform:rotate(-45deg) scale(0);margin-top:-2px;transition:transform .15s;}
#post-edit-page .kre2-remove input:checked{background:#ff2d62;border-color:#ff2d62;}
#post-edit-page .kre2-remove input:checked::after{transform:rotate(-45deg) scale(1);}
#post-edit-page .kre2-remove input:focus-visible{outline:2px solid #ff315d;outline-offset:2px;}

/* Home video bar */
.k-home-video-progress{touch-action:none;outline:0;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;}
.k-hv-track{position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;border-radius:99px;background:rgba(255,255,255,.28);overflow:hidden;pointer-events:none;transition:height .15s,margin-top .15s;}
.k-hv-buf,.k-hv-fill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:99px;}
.k-hv-buf{background:rgba(255,255,255,.38);}
.k-hv-fill{background:#fff;}
.k-hv-knob{position:absolute;top:50%;left:0;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.55);transform:scale(0);transition:transform .15s;pointer-events:none;}
.k-home-video-progress:hover .k-hv-track,.k-home-video-progress.is-scrub .k-hv-track,.k-home-video-progress:focus-visible .k-hv-track{height:5px;margin-top:-2.5px;}
.k-home-video-progress:hover .k-hv-knob,.k-home-video-progress.is-scrub .k-hv-knob,.k-home-video-progress:focus-visible .k-hv-knob{transform:scale(1);}
@media(hover:none){.k-hv-knob{transform:scale(.75);}.k-home-video-progress.is-scrub .k-hv-knob{transform:scale(1.15);}}
.k-home-video-progress:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:2px;border-radius:99px;}

/* Reels bar */
.reels-card .reels-progress.reels-bar{position:absolute!important;left:calc(14px + env(safe-area-inset-left))!important;right:calc(14px + env(safe-area-inset-right))!important;bottom:calc(6px + env(safe-area-inset-bottom))!important;height:22px!important;display:flex;align-items:center;background:transparent!important;z-index:40!important;touch-action:none;cursor:pointer;outline:0;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;}
.reels-card .reels-bottom{bottom:calc(32px + env(safe-area-inset-bottom))!important;}
.reels-card .reels-side-actions{margin-bottom:10px;}
.reels-bar:hover .k-hv-track,.reels-bar.is-scrub .k-hv-track,.reels-bar:focus-visible .k-hv-track{height:5px;margin-top:-2.5px;}
.reels-bar:hover .k-hv-knob,.reels-bar.is-scrub .k-hv-knob,.reels-bar:focus-visible .k-hv-knob{transform:scale(1);}
.reels-bar:focus-visible{outline:2px solid rgba(255,255,255,.75);outline-offset:2px;border-radius:8px;}
@keyframes krWavePulse{0%,100%{transform:scaleY(1);}50%{transform:scaleY(.5);}}
/* Reels caption */
.reels-card .reels-caption{position:relative;display:block;max-height:none!important;overflow:visible!important;margin:0 0 8px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;font-size:14px!important;line-height:1.75!important;font-weight:500;color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.7)!important;cursor:pointer;outline:0;-webkit-tap-highlight-color:transparent;pointer-events:auto!important;touch-action:pan-y;transition:background .22s ease,padding .22s ease,border-radius .22s ease,box-shadow .22s ease;}
.reels-card .reels-caption::after{display:none!important;}
.reels-card .reels-caption:focus-visible{box-shadow:0 0 0 2px rgba(255,255,255,.7);border-radius:10px!important;}
.reels-caption-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line;text-align:right;}
.reels-caption-grip{display:none;width:38px;height:4px;margin:0 auto 12px;border-radius:99px;background:rgba(255,255,255,.34);}
.reels-caption-more{display:none;margin-top:3px;font-size:12px;font-weight:800;color:rgba(255,255,255,.78);letter-spacing:.1px;}
.reels-caption.has-more .reels-caption-more{display:inline-flex;align-items:center;gap:4px;}
.reels-caption.has-more .reels-caption-more::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);}
.reels-card .reels-caption:not(.expanded) .reels-hashtags{flex-wrap:nowrap!important;overflow:hidden;margin-top:6px!important;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 30px);mask-image:linear-gradient(to right,transparent 0,#000 30px);}
.reels-card .reels-caption .reels-hashtag{flex:0 0 auto;white-space:nowrap;border:1px solid rgba(255,255,255,.2)!important;background:rgba(255,255,255,.14)!important;color:#fff;border-radius:999px;padding:4px 11px!important;font:700 11.5px/1.5 inherit!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer;}
.reels-card .reels-caption:not(.expanded):not(.link-only) .kr-link-preview,.reels-card .reels-caption:not(.expanded):not(.link-only) .post-display-link{display:none!important;}
.reels-card .reels-caption.link-only .kr-link-preview{margin-top:2px!important;}
.reels-card .reels-caption.expanded{max-height:min(52dvh,440px)!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent;padding:12px 14px 14px!important;margin-bottom:10px!important;background:linear-gradient(180deg,rgba(28,28,36,.84),rgba(12,12,16,.9))!important;-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.14)!important;border-radius:20px!important;box-shadow:0 14px 44px rgba(0,0,0,.55);text-shadow:none!important;font-size:14.5px!important;}
.reels-card .reels-caption.expanded .reels-caption-grip{display:block;}
.reels-card .reels-caption.expanded .reels-caption-text{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible;}
.reels-card .reels-caption.expanded .reels-caption-more{display:none;}
.reels-card .reels-caption.expanded .reels-hashtags{margin-top:12px!important;gap:7px!important;}
.reels-card .reels-caption.expanded .kr-link-preview,.reels-card .reels-caption.expanded .post-display-link{margin-top:12px!important;max-height:none!important;}
.reels-card .reels-caption.expanded .post-display-link{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.1);color:#fff;font-size:12.5px;font-weight:700;direction:ltr;overflow:hidden;}
.reels-card .reels-caption.expanded .post-display-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media(prefers-reduced-motion:reduce){.reels-card .reels-caption{transition:none;}}
/* Hashtags and translate */
.kr-translate-btn{display:inline-flex;align-items:center;gap:5px;border:0;background:none;padding:4px 0;margin:4px 0 0;color:#ad2c40;font:700 12px/1.4 inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.kr-translate-btn .kr-tr-ico{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}
.kr-translate-btn.is-busy{opacity:.6;pointer-events:none;}
.kr-translate-btn.is-on{opacity:.85;}
.kr-translate-btn:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:6px;}
[data-theme="dark"] .kr-translate-btn{color:#ff7088;}
.kr-feed-card .kr-post-tags{margin-top:10px!important;padding-top:9px;border-top:1px solid rgba(127,127,127,.2);gap:7px!important;}
.kr-feed-card .kr-post-tag{border:1px solid rgba(255,35,79,.2);transition:background .15s,transform .15s;}
.kr-feed-card .kr-post-tag:active{transform:scale(.96);}
.reels-caption-actions{display:flex;align-items:center;gap:12px;margin-top:4px;}
.reels-caption-actions:empty{display:none;}
.reels-card .reels-caption-more{margin-top:0;}
.reels-card .reels-translate-btn{color:rgba(255,255,255,.92);background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:3px 11px;margin:0;font-size:11.5px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}
.reels-card .reels-translate-btn.is-on{background:rgba(255,45,98,.3);border-color:rgba(255,120,150,.55);}
.reels-card .reels-caption .reels-hashtags{margin-top:10px!important;padding-top:8px;border-top:1px solid rgba(255,255,255,.12);}
.reels-card .reels-caption .reels-hashtag{background:rgba(255,45,98,.22)!important;border:1px solid rgba(255,110,140,.45)!important;color:#ffe3ea!important;}
