/* Fısıltın V14 — mobile-first product redesign */
:root{--ink:#17121f;--muted:#81798d;--line:#eee9f3;--surface:#fff;--soft:#f7f4fa;--brand:#6f35d4;--brand2:#9a52ea;--brand3:#4b1f9e;--success:#27b36a;--danger:#df4660;--shadow:0 16px 48px rgba(45,24,68,.10);--radius:22px;--nav-h:72px;--header-h:64px}
*{box-sizing:border-box}html,body{margin:0;max-width:100%;overflow-x:hidden;background:#f8f6fa;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-tap-highlight-color:transparent}body{min-height:100dvh}.shell{width:min(100%,720px);min-height:100dvh;margin:0 auto;background:linear-gradient(180deg,#fff 0,#faf8fc 100%);position:relative;overflow:hidden;box-shadow:0 0 60px rgba(44,22,66,.06)}
header{height:var(--header-h);padding:0 18px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#4d1d96,#7434d5 55%,#9a48e6);position:sticky;top:0;z-index:50;box-shadow:0 8px 28px rgba(75,31,158,.16)}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;letter-spacing:-.2px}.brand .logo{width:34px;height:34px;border-radius:11px;background:#fff;color:var(--brand);display:grid;place-items:center;font:800 23px Georgia,serif;box-shadow:inset 0 -2px 0 rgba(0,0,0,.05)}.brand b{font-size:17px}.bell{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;text-decoration:none;background:rgba(255,255,255,.13);backdrop-filter:blur(12px);position:relative}.bell em{position:absolute;right:-2px;top:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#ff4f75;color:#fff;font-size:10px;font-style:normal;display:grid;place-items:center;border:2px solid #7835d5}
main{padding:20px 16px calc(var(--nav-h) + 28px);min-width:0}.announcement{border:1px solid #eadffd;background:#f8f2ff;border-radius:16px;padding:12px 14px;margin:0 0 14px;display:flex;gap:7px;flex-direction:column}.announcement b{font-size:13px}.announcement span{font-size:12px;color:#71667d}.alert{margin:12px 16px;padding:12px 14px;border-radius:14px;background:#fff;box-shadow:var(--shadow);font-size:13px}
.page-title,.flow-head,.inbox-head,.profile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 2px 18px}.page-title small,.flow-head small,.inbox-head small,.profile-top small,.wallet-head small{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#9a8da7}.page-title h1,.flow-head h1,.inbox-head h1,.profile-top h1{margin:2px 0 0;font-size:29px;line-height:1.05;letter-spacing:-1.2px}.primary,.secondary,.chat,.story-add,.coin-pill,.share-mini{border:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:750}.primary,.chat{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 8px 20px rgba(111,53,212,.22)}.coin-pill,.share-mini{background:#f1e9fc;color:var(--brand3);padding:10px 13px;border-radius:14px}
/* Discover */
.online-strip{display:flex;gap:13px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 16px;margin:0 -2px 2px}.online-strip::-webkit-scrollbar{display:none}.online-strip a{width:58px;flex:0 0 58px;text-decoration:none;color:var(--ink);text-align:center;position:relative}.online-strip .avatar{width:52px;height:52px;border:3px solid #fff;outline:2px solid #8d4de1;box-shadow:0 5px 16px rgba(84,42,130,.13)}.online-strip span{display:block;font-size:10px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.online-strip i{position:absolute;width:11px;height:11px;border-radius:50%;background:#35c976;border:2px solid #fff;right:3px;top:39px}.people{display:grid;gap:10px}.people article{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px rgba(38,20,56,.045);min-width:0}.people article.promoted{border-color:#d7baf9;background:linear-gradient(135deg,#fff,#fbf7ff)}.people .avatar{width:54px;height:54px}.avatar-link{position:relative}.online-dot{position:absolute;right:0;bottom:2px;width:12px;height:12px;border-radius:50%;border:2px solid #fff;background:#bbb}.online-dot.on{background:#32c977}.people article>div{min-width:0}.person-name{font-weight:800;color:var(--ink);text-decoration:none;font-size:14px}.people article div>span,.people article p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.people article div>span{font-size:10px;color:#9a91a2;margin:3px 0}.people article p{font-size:12px;color:#62596b;margin:4px 0 0}.people .chat{padding:9px 12px;border-radius:13px;font-size:11px}
/* Stories */
.story-add{width:42px;height:42px;border-radius:15px;background:var(--brand);color:#fff;font-size:24px}.story-rail{display:flex;gap:12px;overflow:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px 18px}.story-rail::-webkit-scrollbar{display:none}.story-rail button,.story-create{border:0;background:none;min-width:68px;text-align:center;text-decoration:none;color:var(--ink);padding:0}.story-rail .story-avatar,.story-create span{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:auto;border:3px solid #fff;outline:2px solid #8d4de1}.story-create span{background:#f0e8fb;color:var(--brand);font-size:28px}.story-rail b{font-size:10px;display:block;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.story-grid button{height:250px;border:0;border-radius:22px;overflow:hidden;position:relative;padding:0;background:#ddd;text-align:left}.story-grid img{width:100%;height:100%;object-fit:cover}.story-grid span,.story-grid small{position:absolute;left:12px;color:#fff;text-shadow:0 1px 7px #000}.story-grid span{bottom:28px;font-weight:800}.story-grid small{bottom:12px}.story-empty,.empty{padding:36px 22px;text-align:center;border:1px dashed #ddd2e7;border-radius:22px;background:#fff}.story-empty h2{font-size:18px}.story-empty p,.empty{color:#84798f;font-size:13px}
/* Inbox */
.inbox-head>span{font-size:11px;color:#6e6378;background:#f0ebf4;padding:8px 10px;border-radius:12px}.chat-list{display:grid;gap:8px}.chat-list>a{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:18px;text-decoration:none;color:var(--ink);min-width:0}.chat-list .avatar{width:50px;height:50px}.chat-list>a>div{min-width:0}.chat-list b{font-size:13px}.chat-list p{margin:4px 0 0;font-size:11px;color:#8c8295;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list time{font-size:10px;color:#a197aa}.badge{font-style:normal;background:var(--brand);color:#fff;border-radius:10px;padding:2px 6px;font-size:9px}
/* Profiles */
.public-profile,.profile-card.modern{background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}.profile-cover{height:120px;background:radial-gradient(circle at 15% 20%,#cda9ff 0 10%,transparent 11%),linear-gradient(125deg,#4b1f9e,#813dd9 60%,#bc73ef)}.profile-main,.profile-card.modern{padding:20px}.profile-main>.avatar{margin-top:-62px;border:5px solid #fff}.profile-main h1,.profile-card h2{letter-spacing:-.6px}.profile-main>p,.profile-card>p{color:#857a90;font-size:12px}.profile-bio{color:#4e4656!important;line-height:1.55!important}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.profile-stats span{padding:12px 5px;background:#f8f5fa;border-radius:15px;text-align:center;font-size:10px;color:#8c8294}.profile-stats b{display:block;color:var(--ink);font-size:16px;margin-bottom:2px}.profile-buttons{display:grid;grid-template-columns:1fr auto;gap:8px}.profile-buttons .primary,.profile-buttons .secondary{min-height:44px;border-radius:14px;padding:0 14px}.privacy-note{background:#f6f1fb;padding:10px 12px;border-radius:13px}.wallet-row{display:flex;align-items:center;gap:12px;padding:14px;background:linear-gradient(135deg,#f7f0ff,#fff);border:1px solid #eadffc;border-radius:17px;text-decoration:none;color:var(--ink);margin:12px 0}.wallet-row>span{width:38px;height:38px;border-radius:13px;background:var(--brand);color:#fff;display:grid;place-items:center}.wallet-row div{flex:1}.wallet-row small{display:block;color:#8d8197;margin-top:2px}.edit-profile{border-top:1px solid var(--line);margin-top:14px}.edit-profile summary{padding:16px 2px;cursor:pointer;font-weight:700;display:flex;justify-content:space-between}
/* Forms */
.form{display:grid;gap:13px}.form label{font-size:11px;font-weight:700;color:#6f6579}.form input,.form select,.form textarea{width:100%;margin-top:6px;border:1px solid #e6dfeb;background:#faf8fb;border-radius:14px;padding:13px 14px;font:inherit;font-size:14px;outline:0}.form input:focus,.form select:focus,.form textarea:focus{border-color:#a578e4;box-shadow:0 0 0 4px #f1e9fc}.form textarea{min-height:110px;resize:vertical}.form>button,.wallet-head button,.packages button{border:0;border-radius:15px;min-height:48px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:800}.auth-card{width:min(100%,430px);margin:20px auto;background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px;box-shadow:var(--shadow)}.auth-card .logo.big{margin:auto;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:grid;place-items:center;font:800 35px Georgia}.auth-card h1{text-align:center;letter-spacing:-.7px}.photo-picker{min-height:160px;border:2px dashed #d9cae9!important;border-radius:20px;display:grid;place-items:center;align-content:center;text-align:center;gap:4px;background:#fbf8ff}.photo-picker input{max-width:260px}
/* Wallet */
.wallet-head{padding:24px;border-radius:24px;background:linear-gradient(135deg,#4b1f9e,#8b43df);color:#fff;box-shadow:0 14px 34px rgba(77,31,150,.22);margin-bottom:20px}.wallet-head small{color:#d9c8ef}.wallet-head>b{display:block;font-size:34px;margin:6px 0}.wallet-head p{opacity:.8;font-size:12px}.wallet-head button{background:#fff;color:var(--brand3);padding:0 16px}.packages{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.packages form{padding:14px 9px;background:#fff;border:1px solid var(--line);border-radius:18px;text-align:center}.packages b,.packages span{display:block}.packages b{font-size:13px}.packages span{font-size:11px;color:#887d91;margin:5px 0 10px}.packages button{min-height:38px;font-size:10px;width:100%}
/* Bottom navigation */
nav{position:fixed!important;z-index:80;left:50%!important;right:auto!important;bottom:0!important;transform:translateX(-50%)!important;width:min(100%,720px)!important;height:calc(var(--nav-h) + env(safe-area-inset-bottom))!important;padding:7px 10px env(safe-area-inset-bottom)!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;background:rgba(255,255,255,.92)!important;border-top:1px solid rgba(224,216,231,.9)!important;backdrop-filter:blur(18px) saturate(1.3)!important;box-shadow:0 -8px 30px rgba(39,21,54,.06)!important}nav a{min-width:0!important;text-decoration:none!important;color:#968c9e!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;font-size:20px!important;border-radius:15px!important;transition:.18s ease!important}nav a span{font-size:9px!important;font-weight:700!important}nav a.on{color:var(--brand)!important;background:#f7f1fd!important}
/* CHAT: fixed application viewport; only message stream scrolls */
body.page-chat{height:100dvh;overflow:hidden!important;background:#f6f2f8}body.page-chat .shell{height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto 1fr}body.page-chat header,body.page-chat .announcement{display:none!important}body.page-chat main{height:calc(100dvh - var(--nav-h) - env(safe-area-inset-bottom));min-height:0;padding:0!important;display:grid;grid-template-rows:64px 32px minmax(0,1fr) auto;overflow:hidden;background:radial-gradient(circle at 50% 10%,#fff 0,#f9f6fb 45%,#f5f0f8 100%)}
body.page-chat .chat-head{grid-row:1;display:grid!important;grid-template-columns:38px 42px minmax(0,1fr) 38px!important;align-items:center!important;gap:8px!important;height:64px!important;padding:8px 10px!important;margin:0!important;background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--line)!important;backdrop-filter:blur(16px)!important;z-index:20!important;min-width:0!important}body.page-chat .chat-head>a{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;text-decoration:none;background:#f5f0f8;color:var(--brand);font-size:26px}body.page-chat .chat-head .avatar{width:40px!important;height:40px!important}body.page-chat .chat-head>div{min-width:0!important}body.page-chat .chat-head b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.page-chat .chat-head span{display:block;font-size:9px;color:#92879b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}body.page-chat .chat-head .ghost{width:36px;height:36px;border:0;border-radius:12px;background:#f7f3f9;color:#6d6275;font-size:18px}
body.page-chat .privacy-chip{grid-row:2;align-self:center;justify-self:center;max-width:calc(100% - 28px);height:24px;padding:0 10px!important;margin:4px 0!important;border:1px solid #e8dff0!important;border-radius:12px!important;background:rgba(255,255,255,.82)!important;color:#83788c!important;font-size:8.5px!important;display:flex!important;align-items:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;z-index:5!important}
body.page-chat .messages{grid-row:3!important;min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;padding:10px 10px 18px!important;display:flex!important;flex-direction:column!important;gap:7px!important;scroll-padding-bottom:20px!important}body.page-chat .messages::-webkit-scrollbar{display:none!important}.new-chat-note{align-self:center;max-width:290px;text-align:center;padding:13px 15px;background:#fff;border:1px solid var(--line);border-radius:16px;color:#786e81;font-size:11px}.new-chat-note b{display:block;color:#403848;margin-bottom:3px}
body.page-chat .bubble{position:relative!important;align-self:flex-start!important;width:fit-content!important;min-width:48px!important;max-width:min(78%,420px)!important;padding:9px 10px 7px!important;margin:0!important;border-radius:18px 18px 18px 6px!important;background:#fff!important;border:1px solid #ece6f0!important;box-shadow:0 3px 12px rgba(43,25,56,.045)!important;overflow:visible!important;word-break:break-word!important}body.page-chat .bubble.mine{align-self:flex-end!important;background:linear-gradient(145deg,#6c34cf,#7b3bd7)!important;color:#fff!important;border-color:transparent!important;border-radius:18px 18px 6px 18px!important;box-shadow:0 6px 16px rgba(101,48,194,.14)!important}body.page-chat .bubble-text{font-size:13px!important;line-height:1.42!important;white-space:normal!important;overflow-wrap:anywhere!important}body.page-chat .bubble>small{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;margin-top:4px!important;font-size:7.5px!important;line-height:1.2!important;white-space:nowrap!important;opacity:.68!important}body.page-chat .bubble>small button{font-size:7.5px!important;border:0;background:none;color:inherit;padding:0!important}.reply-quote{border-left:3px solid #b58ae9;background:rgba(91,44,155,.07);border-radius:8px;padding:6px 8px;margin-bottom:6px;max-width:100%;overflow:hidden}.mine .reply-quote{background:rgba(255,255,255,.13);border-left-color:#e0c7ff}.reply-quote b,.reply-quote span{display:block;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-quote span{opacity:.75;margin-top:2px}.deleted-message{font-size:11px;font-style:italic;opacity:.65}
body.page-chat .message-photo{display:block!important;width:min(66vw,330px)!important;max-width:100%!important;height:auto!important;max-height:44dvh!important;object-fit:cover!important;border-radius:13px!important;margin:0!important}body.page-chat .bubble:has(.message-photo){padding:5px 5px 6px!important}body.page-chat .bubble:has(.message-photo)>small{padding:0 4px!important}.reaction-row{display:flex;gap:3px;flex-wrap:wrap;position:absolute;bottom:-10px;left:8px}.mine .reaction-row{left:auto;right:8px}.reaction-row span{background:#fff;border:1px solid #e9e1ef;border-radius:10px;padding:2px 5px;font-size:10px;color:#333;box-shadow:0 2px 8px rgba(0,0,0,.06)}body.page-chat .message-actions{position:absolute!important;top:50%!important;left:calc(100% + 5px)!important;transform:translateY(-50%) scale(.96)!important;display:flex!important;gap:3px!important;padding:3px!important;border-radius:13px!important;background:#fff!important;border:1px solid var(--line)!important;box-shadow:0 7px 22px rgba(36,20,49,.12)!important;opacity:0!important;pointer-events:none!important;transition:.15s ease!important;z-index:12!important}.mine .message-actions{left:auto!important;right:calc(100% + 5px)!important}.bubble.actions-open .message-actions,.bubble:hover .message-actions{opacity:1!important;pointer-events:auto!important;transform:translateY(-50%) scale(1)!important}.message-actions button{width:28px!important;height:28px!important;border:0!important;border-radius:9px!important;background:#f7f3f9!important;color:#5d5266!important;padding:0!important;font-size:13px!important}
/* Composer is in normal grid flow; never overlays messages */
body.page-chat .composer{grid-row:4!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom)*.15)!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:end!important;gap:6px!important;background:rgba(255,255,255,.96)!important;border-top:1px solid var(--line)!important;border-radius:0!important;box-shadow:0 -8px 28px rgba(44,23,59,.06)!important;backdrop-filter:blur(18px)!important;z-index:30!important}.composer-tools{display:flex!important;gap:5px!important;align-items:flex-end!important}.attach-button,.record-button{width:40px!important;height:44px!important;min-width:40px!important;border:0!important;border-radius:14px!important;background:#f2ebf9!important;color:var(--brand)!important;display:grid!important;place-items:center!important;font-size:20px!important;cursor:pointer!important}.attach-button input{display:none!important}.record-button.recording{background:#ffe9ee!important;color:#d62e50!important;animation:pulseRec 1s infinite}@keyframes pulseRec{50%{transform:scale(.93)}}.composer-main{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:end!important;gap:6px!important;min-width:0!important}.composer-main textarea{display:block!important;width:100%!important;min-width:0!important;min-height:44px!important;max-height:112px!important;resize:none!important;overflow-y:auto!important;border:1px solid #ebe4ef!important;border-radius:16px!important;background:#f8f5fa!important;padding:12px 13px!important;font:inherit!important;font-size:16px!important;line-height:20px!important;outline:0!important}.composer-main textarea:focus{background:#fff!important;border-color:#c8a9ed!important;box-shadow:0 0 0 3px #f2eafd!important}.send-button{width:44px!important;height:44px!important;min-width:44px!important;border:0!important;border-radius:15px!important;background:linear-gradient(135deg,var(--brand),var(--brand2))!important;color:#fff!important;font-size:17px!important;box-shadow:0 6px 15px rgba(111,53,212,.22)!important}.reply-preview,.media-preview,.photo-mode{grid-column:1/-1!important;position:absolute!important;left:8px!important;right:8px!important;bottom:calc(100% + 7px)!important;width:auto!important;max-width:none!important;margin:0!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 12px 30px rgba(39,20,53,.14)!important;z-index:40!important}.reply-preview{padding:9px 11px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.reply-preview[hidden]{display:none!important}.reply-preview div{min-width:0}.reply-preview b,.reply-preview span{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-preview button{border:0;background:#f4eef8;border-radius:9px;width:28px;height:28px}.media-preview{padding:8px!important;display:none!important;align-items:center!important;gap:8px!important;max-height:120px!important;overflow:auto!important}.media-preview.show{display:flex!important}.media-preview .preview-image{width:62px!important;height:62px!important;object-fit:cover!important;border-radius:11px!important}.media-preview audio{max-width:210px!important;height:34px!important}.photo-mode{bottom:calc(100% + 82px)!important;left:auto!important;right:8px!important;width:max-content!important;display:flex!important;padding:4px!important;gap:3px!important}.photo-mode[hidden]{display:none!important}.photo-mode button{border:0;border-radius:10px;padding:7px 9px;background:#f4eff8;color:#65586f;font-size:9px;font-weight:700}.photo-mode button.active{background:var(--brand);color:#fff}
/* viewers */
.photo-viewer{position:fixed;inset:0;z-index:200;background:rgba(12,8,16,.94);display:grid;place-items:center;padding:18px}.photo-viewer[hidden]{display:none}.photo-viewer img{max-width:100%;max-height:82dvh;border-radius:16px;object-fit:contain}.viewer-close{position:absolute;top:calc(14px + env(safe-area-inset-top));right:14px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:25px}.viewer-open{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom));color:#fff;text-decoration:none;background:rgba(255,255,255,.12);padding:10px 14px;border-radius:13px}.reaction-picker{position:fixed;z-index:180;background:#fff;border:1px solid var(--line);border-radius:18px;padding:5px;box-shadow:0 12px 35px rgba(30,16,42,.18);display:flex;gap:2px}.reaction-picker[hidden]{display:none}.reaction-picker button{width:36px;height:36px;border:0;background:transparent;border-radius:10px;font-size:19px}
/* photo send studio */
.photo-studio{position:fixed;inset:0;z-index:220;background:#0d0b10;display:none;grid-template-rows:auto 1fr auto;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);color:#fff}.photo-studio.open{display:grid}.photo-studio-head{height:58px;padding:0 14px;display:flex;align-items:center;justify-content:space-between}.photo-studio-head button{border:0;background:rgba(255,255,255,.1);color:#fff;border-radius:12px;height:38px;padding:0 13px}.photo-studio-stage{min-height:0;display:grid;place-items:center;padding:8px 14px}.photo-studio-stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:16px}.photo-studio-foot{padding:12px 14px;display:grid;gap:10px}.photo-studio-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photo-studio-modes button{height:44px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.08);color:#fff;font-weight:700}.photo-studio-modes button.active{background:#fff;color:#271934}.photo-studio-send{height:48px;border:0;border-radius:15px;background:linear-gradient(135deg,#7b3bd7,#a652eb);color:#fff;font-weight:800}
@media(max-width:420px){main{padding-left:11px;padding-right:11px}.people article{grid-template-columns:52px minmax(0,1fr) auto;padding:11px;gap:9px}.people .avatar{width:49px;height:49px}.people article div>span{max-width:100%}.people .chat{padding:8px 9px}.story-grid button{height:220px}.packages{grid-template-columns:1fr}.packages form{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;text-align:left}.packages span{margin:0}.packages button{width:auto;padding:0 10px}body.page-chat .bubble{max-width:82%!important}body.page-chat .message-photo{width:min(70vw,300px)!important}}
@media(max-width:350px){body.page-chat .chat-head{grid-template-columns:34px 38px minmax(0,1fr) 34px!important;padding-left:6px!important;padding-right:6px!important}.attach-button,.record-button{width:36px!important;min-width:36px!important}.composer-main{grid-template-columns:minmax(0,1fr) 40px!important}.send-button{width:40px!important;min-width:40px!important}.privacy-chip{max-width:94%!important}}
