
    :root{--bg:#f7f8f5;--paper:#fff;--ink:#17191d;--ink-soft:#34373c;--muted:#8d9b91;--border:#e8ede8;--green:#34373c;--green-dark:#17191d;--mint:#dff3d4;--mint-light:#f0f8ec;--peach:#fff0e4;--orange:#edaa77;--shadow:0 12px 40px rgba(23,23,23,.045);--radius:21px;--font:'Plus Jakarta Sans','DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font:500 13px/1.55 var(--font);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}svg{flex-shrink:0}.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;fill:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.hide{display:none!important}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ebecee;outline-offset:3px}
    .app-shell{max-width:1440px;display:grid;grid-template-columns:230px minmax(0,650px) 305px;gap:29px;align-items:start;margin:0 auto;padding:31px 27px 70px;justify-content:center}
    .sidebar{position:sticky;top:24px;height:calc(100vh - 48px);display:flex;flex-direction:column;padding:3px 5px 12px 0;min-width:0}.brand{display:flex;align-items:center;gap:11px;width:max-content;padding:6px 8px 6px 11px;margin-bottom:36px}.brand-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:var(--green);color:white;box-shadow:0 8px 18px rgba(83,83,83,.16);transform:rotate(-7deg)}.brand-icon .icon{width:23px;height:23px;transform:rotate(7deg);stroke-width:2}.brand-word{font-weight:800;font-size:28px;letter-spacing:-1.5px;line-height:1}.brand-dot{color:#d9dce0}.brand-caption{font-size:10px;color:var(--muted);letter-spacing:.05em;font-weight:700;margin:3px 0 0 2px}.nav-caption{margin:0 0 12px 17px;font-size:10px;letter-spacing:1.5px;font-weight:800;color:#a0aba4}.side-nav{display:flex;flex-direction:column;gap:6px}.nav-link{width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:14px;color:#747a82;border-radius:14px;padding:13px 15px;font-weight:700;position:relative;transition:.18s}.nav-link:hover{background:#eaf1e9;color:var(--green)}.nav-link.active{color:var(--green);background:#e5f1e2}.nav-link.active:before{content:"";position:absolute;width:4px;height:22px;left:-5px;top:50%;transform:translateY(-50%);border-radius:8px;background:#a9aeb4}.nav-link .icon{width:21px;height:21px}.nav-count{font-size:10px;background:#f1b99f;border-radius:99px;min-width:19px;height:19px;display:grid;place-items:center;margin-left:auto;color:#733c24;font-weight:800;padding:0 4px}.nav-create{border:0;background:var(--green);color:white;display:flex;align-items:center;justify-content:center;gap:9px;padding:15px 18px;width:calc(100% - 7px);margin:28px 4px 0 0;border-radius:15px;font-weight:800;box-shadow:0 11px 25px rgba(83,83,83,.17);transition:transform .2s,background .2s}.nav-create:hover,.primary-btn:hover{background:#17191d;transform:translateY(-1px)}.nav-create .icon{width:20px;height:20px}.sidebar-bottom{margin-top:auto}.sidebar-note{padding:15px 15px 16px;background:#eaf2e6;border-radius:16px;color:#34373c}.sidebar-note .mini-emoji{font-size:24px}.sidebar-note b{font-size:12px;display:block;margin:5px 0}.sidebar-note p{margin:0;font-size:11px;line-height:1.7}.sidebar-foot{margin:16px 0 0 6px;color:#a8b4ab;font-size:10px}
    .main{min-width:0}.mobile-header{display:none}.page-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:2px 0 22px}.hello{font-size:11px;color:#97a49a;font-weight:700;letter-spacing:.01em}.page-title{font-size:27px;letter-spacing:-1.1px;line-height:1.3;font-weight:800;margin:3px 0 0}.title-spark{color:#a9aeb4}.top-actions{display:flex;align-items:center;gap:10px}.top-avatar{border:4px solid white;box-shadow:0 3px 15px #17191d10;background:#e5eedf;color:var(--green);height:43px;width:43px;border-radius:50%;font-size:12px;font-weight:800;display:grid;place-items:center}.icon-btn{display:grid;place-items:center;border:1px solid #e6ece6;background:white;width:40px;height:40px;border-radius:13px;color:#34373c;position:relative;transition:.2s}.icon-btn:hover{background:#edf5ec;color:var(--green)}.top-dot{position:absolute;top:8px;right:8px;background:#e99f7f;width:7px;height:7px;border:2px solid white;border-radius:50%}
    .hero{min-height:220px;position:relative;overflow:hidden;display:flex;align-items:center;border-radius:24px;padding:27px 28px;background:linear-gradient(120deg,#34373c 0%,#34373c 61%,#747a82 100%);isolation:isolate;box-shadow:0 16px 30px rgba(23,23,23,.10);margin-bottom:19px}.hero:before{content:"";position:absolute;width:320px;height:320px;right:-48px;top:-100px;border-radius:50%;background:#f5f5f626;z-index:-1}.hero:after{content:"";position:absolute;width:220px;height:220px;right:5px;bottom:-120px;border:1px solid #f3ffe739;border-radius:50%;z-index:-1}.hero-copy{position:relative;z-index:2;max-width:360px}.hero-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#ebecee;display:flex;align-items:center;gap:6px;margin-bottom:13px}.hero h2{font-size:27px;font-weight:800;line-height:1.22;letter-spacing:-1.2px;color:#fff;margin:0 0 10px;max-width:330px}.hero p{font-size:11.5px;color:#f5f5f6;margin:0 0 17px;max-width:310px;line-height:1.6}.hero-button{border:0;background:#f5f5f6;color:#17191d;display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border-radius:11px;font-size:11px;font-weight:800}.hero-button:hover{background:white}.hero-button .icon{width:15px;height:15px}.hero-art{position:absolute;right:24px;bottom:-28px;width:215px;height:218px}.hero-circle{position:absolute;right:10px;top:5px;border-radius:50%;width:195px;height:195px;background:#e2eec3;border:10px solid #ffffff18;overflow:hidden;box-shadow:0 0 0 1px #ffffff3f}.hero-circle img{width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0}.hero-dog{position:absolute;inset:0;display:grid;place-items:center;font-size:105px;transform:rotate(-8deg)}.hero-floater{position:absolute;z-index:2;background:#fff;box-shadow:0 10px 22px #17191d24;border-radius:12px;padding:8px 10px;top:14px;right:-9px;font-size:11px;transform:rotate(10deg)}.hero-paw{position:absolute;left:2px;top:34px;color:#e8f9d7;transform:rotate(-25deg);opacity:.75}.hero-paw .icon{width:32px;height:32px;stroke-width:1.2}
    .card{background:var(--paper);border:1px solid #eaf0e9;border-radius:var(--radius);box-shadow:var(--shadow)}.composer{display:flex;align-items:center;gap:13px;padding:15px 18px;margin-bottom:23px}.avatar{display:grid;place-items:center;flex-shrink:0;background:#e3efe0;color:#34373c;border-radius:50%;font-weight:800;overflow:hidden;position:relative}.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.avatar.s{width:35px;height:35px;font-size:10px}.avatar.m{width:41px;height:41px;font-size:12px}.avatar.l{width:62px;height:62px;font-size:20px}.composer-trigger{border:0;background:#f7faf6;color:#9ba79d;border-radius:12px;padding:13px 16px;flex:1;text-align:left;font-size:12px}.composer-trigger:hover{background:#edf5e9;color:#747a82}.composer-camera{border:0;color:#a9aeb4;background:#eaf5e9;border-radius:11px;width:38px;height:38px;display:grid;place-items:center}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 1px 12px}.section-head h3{font-size:15px;font-weight:800;letter-spacing:-.35px;margin:0}.subtle-link{color:var(--green);font-size:11px;font-weight:800;border:0;background:transparent;padding:6px}.subtle-link:hover{text-decoration:underline}.stories{display:flex;gap:14px;overflow:auto;padding:2px 3px 16px;scrollbar-width:none}.stories::-webkit-scrollbar{display:none}.story{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:66px;max-width:66px;border:0;background:none;color:#34373c;font-size:10px;font-weight:700;padding:0}.story-ring{width:61px;height:61px;border:2px solid #ebecee;border-radius:50%;padding:3px;position:relative;display:grid;place-items:center;background:#e7f0dd}.story-ring img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);border-radius:50%;object-fit:cover}.story-fallback{font-size:26px}.story.own .story-ring{border:2px dashed #d9dce0}.story-plus{position:absolute;background:var(--green);color:white;width:19px;height:19px;right:-4px;bottom:0;border-radius:50%;font-size:16px;display:grid;place-items:center;border:2px solid white;line-height:1}.story-name{width:72px;max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
    .feed-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;margin-bottom:12px}.feed-tabs{display:flex;align-items:center;gap:16px}.feed-tab{border:0;background:transparent;padding:8px 1px 12px;color:#a3aea5;font-size:12px;font-weight:800;position:relative}.feed-tab.active{color:var(--green)}.feed-tab.active:after{content:"";position:absolute;bottom:2px;left:0;right:0;height:3px;border-radius:3px;background:#a9aeb4}.feed-filter{display:flex;align-items:center;gap:5px;color:#747a82;font-weight:700;font-size:10px}.feed-filter select{border:0;background:transparent;color:var(--green);font-size:10px;font-weight:800;outline:0;padding:4px}
    .post{margin-bottom:18px;overflow:hidden}.post-head{display:flex;align-items:center;gap:10px;padding:16px 18px 13px}.post-author{flex:1;min-width:0}.post-author b{font-size:12px;display:flex;gap:5px;align-items:center}.post-author span{font-size:10px;color:#9aa69c}.verified{display:inline-flex!important;color:#a9aeb4}.verified .icon{width:13px;height:13px;fill:#a9aeb4;color:white;stroke-width:3}.post-follow{font-size:10px;background:#f1f7ef;border:0;color:#747a82;border-radius:8px;padding:7px 10px;font-weight:800}.post-follow.is-following{background:#f5f5f1;color:#89978d}.post-photo{height:340px;margin:0 11px;border-radius:15px;overflow:hidden;display:grid;place-items:center;position:relative;background:linear-gradient(135deg,#f2e3ca,#ebecee);font-size:65px}.post-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.post-photo .photo-badge{position:absolute;top:12px;left:13px;z-index:1;background:#ffffffed;border-radius:9px;padding:7px 10px;color:#747a82;font-size:10px;font-weight:800;display:flex;align-items:center;gap:5px;box-shadow:0 4px 15px #17191d19}.photo-badge .icon{width:13px;height:13px}.post-actions{display:flex;align-items:center;gap:6px;padding:12px 15px 6px}.action{border:0;background:transparent;display:flex;align-items:center;gap:5px;padding:5px 7px;color:#747a82;font-size:11px;font-weight:750;border-radius:8px}.action:hover{background:#f0f6f0}.action .icon{width:20px;height:20px}.action.is-active{color:#dc796d}.action.is-active .icon{fill:#dc796d2e}.action.save.is-active{color:var(--green)}.action.save.is-active .icon{fill:#ebecee}.push-right{margin-left:auto}.post-content{padding:2px 20px 16px;font-size:11.5px;line-height:1.75;color:#647167}.post-content strong{color:#17191d;font-weight:800}.post-content .tags{color:#747a82;font-weight:700}.post-comments{margin-top:8px;color:#9aa69c;font-size:10.5px;cursor:pointer;display:inline-block}.post-comments:hover{text-decoration:underline}.empty-state{text-align:center;border:1px dashed #d9e5d9;border-radius:18px;background:#fff;padding:45px 18px;color:#747a82}.empty-state .icon{width:32px;height:32px;margin-bottom:7px;color:var(--green)}.empty-state h3{color:var(--ink);font-size:15px;margin:6px}.empty-state p{font-size:11px;margin:6px}
    .right-rail{position:sticky;top:29px;display:flex;flex-direction:column;gap:18px}.search-box{display:flex;align-items:center;gap:10px;padding:13px 14px;background:white;border:1px solid var(--border);border-radius:14px;color:#9ca9a1}.search-box input{border:0;background:transparent;outline:0;width:100%;min-width:0;font-size:11px;color:var(--ink)}.search-box .icon{width:18px;height:18px}.rail-profile{display:flex;align-items:center;gap:10px;padding:2px 3px}.rail-profile strong{display:block;font-size:12px}.rail-profile span{font-size:10px;color:#a9aeb4}.rail-card{padding:18px}.rail-card h3{font-size:13px;margin:0 0 14px;letter-spacing:-.2px}.rail-heading{display:flex;justify-content:space-between;align-items:center}.rail-heading button{border:0;background:transparent;font-size:10px;font-weight:800;color:var(--green)}.pet-spotlight{background:#eaf4e7;border-radius:15px;padding:13px 12px;display:flex;align-items:center;gap:11px}.pet-spotlight img{width:63px;height:68px;object-fit:cover;border-radius:12px}.pet-spotlight strong{font-size:12px}.pet-spotlight p{font-size:10px;color:#a9aeb4;margin:3px 0 7px}.pet-spotlight button{padding:0;border:0;background:transparent;font-size:10px;font-weight:800;color:var(--green)}.suggestion{display:flex;align-items:center;gap:9px;margin-top:15px}.suggestion-info{min-width:0;flex:1}.suggestion-info strong{font-size:11px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.suggestion-info span{font-size:10px;color:#a9aeb4;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.suggestion button{border:0;color:var(--green);background:#edf5e9;border-radius:8px;font-size:9px;font-weight:800;padding:7px 9px}.suggestion button.following{color:#8a978d;background:#f4f5f3}.rail-topic{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #eff3ee}.rail-topic:last-child{border-bottom:0;padding-bottom:0}.topic-emoji{height:35px;width:35px;display:grid;place-items:center;background:#edf5e8;border-radius:10px;font-size:18px}.rail-topic b{font-size:10.5px;display:block}.rail-topic span{font-size:9.5px;color:#9aa79d}.rail-footer{color:#b0bab1;font-size:10px;line-height:1.8;padding:0 5px}
    .view-head{margin:4px 0 20px}.view-head h1{font-size:26px;letter-spacing:-.9px;margin:0 0 5px}.view-head p{font-size:12px;color:#a9aeb4;margin:0}.pills{display:flex;gap:8px;overflow-x:auto;padding:4px 0 15px;scrollbar-width:none}.pill{flex-shrink:0;border:1px solid #e6ede5;background:#fff;border-radius:99px;padding:10px 14px;color:#747a82;font-size:11px;font-weight:800}.pill.active,.pill:hover{background:var(--green);color:#fff;border-color:var(--green)}.explore-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.explore-card{overflow:hidden}.explore-card-img{height:142px;background:linear-gradient(125deg,#e3f1db,#f8e6cd);overflow:hidden;position:relative;display:grid;place-items:center}.explore-card-img .fallback-animal{font-size:54px}.explore-card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.explore-card-body{padding:14px}.explore-card-body h3{font-size:13px;margin:0}.explore-card-body p{font-size:10px;color:#a9aeb4;margin:3px 0 11px}.explore-card-body .row-end{display:flex;align-items:center;justify-content:space-between;gap:6px}.animal-chip{display:inline-block;border-radius:999px;padding:5px 8px;background:#edf6e9;color:#747a82;font-size:9px;font-weight:800}.small-green-btn{border:0;border-radius:9px;padding:8px 11px;background:var(--green);color:#fff;font-size:10px;font-weight:800}.small-green-btn.following{background:#eef4ed;color:#747a82}.explore-banner{padding:21px;margin-bottom:18px;background:#e6f3e1;border-radius:19px;display:flex;justify-content:space-between;gap:20px;align-items:center}.explore-banner strong{font-size:14px}.explore-banner p{margin:5px 0 0;color:#a9aeb4;font-size:11px}.explore-banner .icon{width:38px;height:38px;color:#747a82}
    .community-hero{display:flex;align-items:center;gap:14px;border-radius:21px;background:linear-gradient(110deg,#eaf5e2,#fef4ea);padding:20px;margin-bottom:19px}.community-hero .bubble{font-size:38px;flex-shrink:0}.community-hero h3{margin:0 0 5px;font-size:15px}.community-hero p{margin:0;color:#a9aeb4;font-size:11px}.community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.community-toolbar h3{font-size:14px;margin:0}.question{padding:19px 19px 16px;margin-bottom:14px}.question-tag{display:inline-block;background:#edf4e9;border-radius:8px;padding:5px 9px;color:#747a82;font-weight:800;font-size:9px;margin-bottom:10px}.question h3{font-size:14px;margin:0 0 8px;line-height:1.5}.question p{color:#747a82;font-size:11px;margin:0 0 14px;line-height:1.7;white-space:pre-wrap}.question-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eef2ee;padding-top:13px}.question-user{display:flex;align-items:center;gap:7px;color:#a9aeb4;font-size:10px}.question-btns{display:flex;gap:5px;align-items:center}.q-action{display:flex;gap:5px;align-items:center;padding:7px 8px;border-radius:8px;border:0;background:#f7faf6;font-size:10px;font-weight:800;color:#747a82}.q-action .icon{width:15px;height:15px}.q-action.liked{color:var(--green);background:#e7f3e5}.reply-list{padding:12px 0 0}.reply{background:#f7faf6;border-radius:12px;padding:11px;margin:6px 0;color:#747a82;font-size:11px;line-height:1.6}.reply strong{color:var(--green)}.reply-form{display:flex;gap:7px;padding-top:11px}.reply-form input{min-width:0;flex:1;border:1px solid #e5ede5;background:#fff;border-radius:10px;padding:10px 11px;font-size:11px}.reply-form button{border:0;border-radius:10px;padding:9px 11px;background:var(--green);color:white;font-weight:700}
    .notification-item{display:flex;gap:13px;padding:18px;border-bottom:1px solid #eef2ed;align-items:flex-start}.notification-item:last-child{border-bottom:0}.notification-item.unread{background:#f6fbf4}.notification-item p{font-size:11.5px;line-height:1.6;margin:0}.notification-item span{font-size:10px;color:#a1aea4}.notification-mark{margin-left:auto;min-width:7px;height:7px;background:#d9dce0;border-radius:50%;margin-top:9px}.notification-wrap{overflow:hidden}.notification-icon{border-radius:50%;height:39px;width:39px;display:grid;place-items:center;background:#e8f3e7;color:var(--green)}.notification-icon.heart{background:#fff0ec;color:#dc887b}.notification-icon .icon{width:19px;height:19px}
    .profile-cover{height:160px;position:relative;background:linear-gradient(120deg,#34373c,#d9dce0);border-radius:19px 19px 0 0;overflow:hidden}.profile-cover:before{content:"";position:absolute;width:260px;height:260px;right:-70px;top:-150px;background:#ffffff22;border-radius:50%}.profile-cover:after{content:"";position:absolute;width:220px;height:220px;left:20%;bottom:-180px;border:1px solid #ffffff5c;border-radius:50%}.profile-cover-emoji{position:absolute;right:35px;top:42px;font-size:62px;transform:rotate(-15deg)}.profile-main{padding:0 21px 23px}.profile-top{display:flex;justify-content:space-between;align-items:flex-end;margin-top:-31px;position:relative}.profile-top .avatar{border:5px solid white;width:75px;height:75px;font-size:21px}.secondary-btn{border:1px solid #dce9db;border-radius:10px;background:#fff;color:var(--green);font-size:10px;font-weight:800;padding:10px 13px}.secondary-btn:hover{background:#f0f8ed}.profile-name{font-size:19px;letter-spacing:-.6px;font-weight:800;margin:13px 0 0}.profile-handle{font-size:11px;color:#a9aeb4;margin:0}.profile-bio{font-size:11px;color:#747a82;line-height:1.8;margin:12px 0 15px}.profile-stats{display:flex;gap:32px;padding-top:15px;border-top:1px solid #eef1ed;font-size:10px;color:#92a096}.profile-stats b{font-size:15px;display:block;color:var(--ink)}.profile-pets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:15px}.profile-pet{padding:12px;display:flex;align-items:center;gap:10px}.profile-pet img{width:57px;height:57px;object-fit:cover;border-radius:11px}.profile-pet strong{font-size:11px;display:block}.profile-pet span{font-size:10px;color:#a9aeb4}.profile-post-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 13px}.profile-post-head h3{margin:0;font-size:14px}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.profile-grid-item{aspect-ratio:1;background:#e5eee4;border-radius:11px;overflow:hidden;border:0;padding:0}.profile-grid-item img{width:100%;height:100%;object-fit:cover}.profile-grid-item.text-only{display:grid;place-items:center;font-size:25px}.profile-empty{grid-column:1/-1;padding:25px 10px;color:#a9aeb4;text-align:center;border:1px dashed #dce7d9;border-radius:12px;font-size:11px}
    .modal-backdrop{position:fixed;inset:0;background:#17191d8c;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px;backdrop-filter:blur(4px)}.modal{background:white;width:100%;max-width:520px;max-height:min(92vh,820px);overflow-y:auto;border-radius:22px;box-shadow:0 24px 90px #142f3044}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid #edf0eb}.modal-header h2{font-size:15px;margin:0}.modal-header button{border:0;background:#f3f6f2;border-radius:10px;width:34px;height:34px;display:grid;place-items:center;color:#747a82}.modal-body{padding:20px 21px}.modal-footer{padding:0 21px 21px;display:flex;justify-content:flex-end;gap:8px}.form-label{display:block;font-weight:800;font-size:10px;color:#747a82;margin:0 0 7px}.form-control{width:100%;padding:12px 13px;border:1px solid #e1eae0;background:#fbfcfa;border-radius:11px;font-size:12px;color:var(--ink);outline:0}.form-control:focus{border-color:#d9dce0;background:white}.form-row{margin-bottom:15px}.form-control.textarea{min-height:110px;resize:vertical}.primary-btn{background:var(--green);border:0;border-radius:11px;padding:12px 18px;font-weight:800;color:white;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.outline-btn{background:white;border:1px solid #dfe9dd;border-radius:11px;padding:12px 18px;color:#747a82;font-weight:800;font-size:11px}.upload-card{border:1.5px dashed #c8d9c8;border-radius:14px;padding:22px 18px;background:#f7fbf5;text-align:center;cursor:pointer;color:#747a82}.upload-card:hover{background:#eef8e9}.upload-card .icon{width:28px;height:28px;margin-bottom:5px}.upload-card p{font-size:11px;font-weight:800;margin:5px 0 2px}.upload-card span{font-size:10px;color:#a9aeb4}.upload-preview{width:100%;max-height:220px;border-radius:10px;object-fit:cover;margin-top:10px}.image-remove{border:0;background:#fff0ec;color:#b35e56;font-size:10px;padding:7px 10px;border-radius:8px;margin-top:7px}.modal-muted{font-size:10px;color:#a9aeb4;margin:11px 0 0;line-height:1.6}.comment-item{padding:12px 0;border-bottom:1px solid #edf3ee;display:flex;gap:9px;align-items:flex-start}.comment-item strong{font-size:11px}.comment-item p{margin:3px 0 0;color:#747a82;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.comment-scroll{max-height:300px;overflow:auto}.comment-input{display:flex;gap:8px;margin-top:15px}.comment-input input{flex:1;min-width:0;border:1px solid #e3ebe2;border-radius:11px;padding:12px;font-size:11px}.comment-input button{border:0;background:var(--green);color:#fff;border-radius:11px;padding:11px 15px;font-weight:800}
    .toast-stack{position:fixed;right:24px;bottom:24px;z-index:200;display:flex;flex-direction:column;gap:10px}.toast{background:#17191d;color:#fff;box-shadow:0 12px 30px #17191d30;border-radius:13px;padding:13px 16px;font-size:11px;font-weight:700;max-width:330px;animation:pop .2s ease}.toast .icon{width:15px;height:15px;vertical-align:middle;margin-right:5px}@keyframes pop{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}.mobile-bottom{display:none}.mobile-fab{display:none}.loading-note{padding:20px;text-align:center;color:var(--muted)}
    @media(max-width:1260px){.app-shell{grid-template-columns:215px minmax(0,630px) 265px;gap:18px;padding:25px 22px}.rail-card{padding:15px}.sidebar-note{padding:12px}.hero-art{right:0}}
    @media(max-width:1080px){.app-shell{max-width:860px;grid-template-columns:205px minmax(0,1fr);gap:23px}.right-rail{display:none}.hero-art{right:18px}}
    @media(max-width:690px){body{background:#f8faf7}.app-shell{display:block;padding:0 0 100px;max-width:590px}.sidebar{display:none}.main{padding:0 13px}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:15px 17px 12px;background:#f8faf7;position:sticky;top:0;z-index:40;border-bottom:1px solid #eaf0e8}.mobile-header .brand{padding:0;margin:0}.mobile-header .brand-icon{height:34px;width:34px;border-radius:11px}.mobile-header .brand-word{font-size:25px}.mobile-header .brand-caption{display:none}.mobile-header .top-actions{gap:7px}.mobile-header .icon-btn{width:37px;height:37px}.page-intro{margin:20px 2px 15px}.page-title{font-size:24px}.page-intro>.top-actions{display:none}.hero{padding:23px 21px;border-radius:19px;min-height:196px}.hero h2{font-size:24px;max-width:255px}.hero p{max-width:230px;font-size:10px}.hero-copy{max-width:75%}.hero-art{width:144px;height:175px;right:-1px;bottom:-22px}.hero-circle{width:153px;height:153px;right:-8px;top:8px}.hero-floater{right:12px;top:0}.hero-paw{left:-25px}.composer{padding:12px;margin-bottom:20px;border-radius:16px}.stories{gap:11px}.story{min-width:63px}.card{border-radius:16px}.post-photo{height:auto;aspect-ratio:1.4}.post-head{padding:13px 13px 11px}.post-content{padding:2px 15px 14px}.post-actions{padding-left:11px;padding-right:11px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:50;justify-content:space-around;background:#ffffffee;border-top:1px solid #e7eee6;padding:9px 8px max(12px,env(safe-area-inset-bottom));backdrop-filter:blur(14px)}.mobile-nav-btn{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;color:#a9aeb4;font-size:9px;font-weight:800;min-width:54px;padding:3px 0}.mobile-nav-btn .icon{width:21px;height:21px}.mobile-nav-btn.active{color:var(--green)}.mobile-fab{position:fixed;bottom:85px;right:17px;z-index:51;display:grid;place-items:center;width:53px;height:53px;border-radius:17px;background:var(--green);color:#fff;border:3px solid #fff;box-shadow:0 9px 24px #34373c42}.mobile-fab .icon{width:25px;height:25px}.toast-stack{left:14px;right:14px;bottom:155px;align-items:center}.toast{width:max-content;max-width:100%}.explore-grid{gap:10px}.explore-card-img{height:130px}.explore-card-body{padding:11px}.view-head{margin:23px 3px 17px}.view-head h1{font-size:24px}.profile-pets{gap:8px}.profile-pet{padding:9px}.profile-pet img{width:49px;height:49px}.community-toolbar{flex-wrap:wrap}}
    @media(max-width:390px){.hero{padding:21px 15px}.hero h2{font-size:21px;max-width:215px}.hero p{max-width:200px}.hero-art{right:-23px}.hero-floater{display:none}.feed-tabs{gap:10px}.feed-tab{font-size:11px}.explore-grid{grid-template-columns:1fr 1fr}.explore-card-img{height:116px}.story{min-width:59px}.section-head h3{font-size:14px}.mobile-nav-btn{min-width:48px}.page-title{font-size:22px}}
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

    /* PATIYIZ 2.0 — premium refined surfaces, feature cards & accessible responsive pages */
    :root{--bg:#f5f7f3;--green:#34373c;--green-dark:#17191d;--shadow:0 9px 31px rgba(23,23,23,.046);--radius:19px}
    .app-shell{grid-template-columns:218px minmax(0,650px) 292px;gap:26px}
    .brand-word{letter-spacing:-1.6px}.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d8e6d7 transparent}.side-nav{gap:3px}.nav-link{padding:11px 13px;gap:12px;font-size:12px}.nav-link .icon{width:19px;height:19px}.nav-create{margin-top:19px}.sidebar-note{margin-top:20px}.page-title{font-size:29px}.card{box-shadow:var(--shadow)}.card:hover{border-color:#e3ece2}.hero{min-height:200px;background:linear-gradient(122deg,#17191d 0%,#34373c 72%,#747a82 100%)}.hero h2{font-size:29px}.hero p{font-size:12px}.post-photo{height:auto;aspect-ratio:1.47}.post-head{padding:17px 18px 14px}.post-content{font-size:12px}.post-tools{display:flex;gap:5px;align-items:center}.post-edit{background:transparent;border:1px solid #e7eee7;color:#a9aeb4;padding:6px 9px;border-radius:9px;font-size:10px;font-weight:700}.post-edit:hover{background:#f3f7f2}
    .quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:-1px 0 20px}.quick-card{display:flex;align-items:flex-start;gap:9px;padding:15px 12px;border:1px solid #e7eee5;background:#fff;border-radius:16px;text-align:left;min-width:0;transition:transform .17s,border-color .17s,box-shadow .17s}.quick-card:hover,.feature-tile:hover{transform:translateY(-2px);border-color:#ebecee;box-shadow:0 9px 20px #17191d20}.quick-symbol{width:35px;height:35px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:#e8f4e9;color:#34373c}.quick-symbol.rose{background:#fff0e9;color:#c16c54}.quick-symbol.amber{background:#f7f0df;color:#9f7837}.quick-symbol .icon{width:19px;height:19px}.quick-card strong{display:block;font-size:11px;line-height:1.35}.quick-card small{display:block;color:#a9aeb4;font-size:9.5px;line-height:1.45;margin-top:4px}.section-kicker{color:#a9aeb4;font-weight:800;font-size:10px;letter-spacing:.1em;margin-bottom:7px;text-transform:uppercase}
    .feature-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 17px}.feature-head h2{font-size:17px;line-height:1.3;margin:0}.feature-head p{color:#a9aeb4;font-size:11px;margin:4px 0 0}.feature-hero{display:flex;align-items:center;gap:15px;padding:18px 20px;border-radius:18px;background:linear-gradient(105deg,#e9f3e7,#f9f8ed);margin-bottom:18px}.feature-hero-icon{font-size:32px}.feature-hero h3{margin:0 0 4px;font-size:14px}.feature-hero p{margin:0;font-size:11px;line-height:1.65;color:#a9aeb4}.sub-filter{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:16px}.sub-filter .search-box{flex:1;min-width:165px}.mini-filter{padding:9px 11px;font-size:10px;font-weight:800;border:1px solid #e3eae2;color:#747a82;border-radius:10px;background:white}.mini-filter.active{background:var(--green);color:white;border-color:var(--green)}.demo-chip{font-size:9px;color:#a9aeb4;background:#eff7ed;border-radius:99px;padding:5px 9px;font-weight:800;white-space:nowrap}.disclaimer{font-size:10px;color:#a9aeb4;line-height:1.65;margin-top:14px;padding:12px 14px;background:#f0f4ef;border-radius:11px}
    .lost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lost-card{overflow:hidden}.lost-cover{aspect-ratio:1.75;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,#eaf0e0,#fff0e2);font-size:48px}.lost-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.lost-status{position:absolute;left:11px;top:11px;font-size:9px;padding:7px 9px;background:#fff9f0;border-radius:9px;color:#a96538;font-weight:800;box-shadow:0 3px 9px #17191d13}.lost-status.found{color:#34373c;background:#eff9eb}.lost-body{padding:15px}.lost-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.lost-title strong{font-size:14px}.lost-body p{color:#747a82;font-size:11px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.lost-location{font-size:10px;font-weight:750;color:#747a82;display:flex;align-items:center;gap:4px}.lost-location .icon{width:13px;height:13px}.lost-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.lost-foot small{font-size:9px;color:#9ba99b}.lost-foot .small-green-btn{white-space:nowrap}.form-2col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
    .care-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:2px 0 20px}.summary-box{background:white;padding:16px;border:1px solid #e8eee7;border-radius:15px}.summary-box b{font-size:23px;line-height:1.1;display:block}.summary-box span{font-size:10px;color:#a9aeb4;display:block;margin-top:8px}.care-group{font-weight:800;font-size:13px;display:flex;align-items:center;gap:8px;margin:20px 0 11px}.care-item{display:flex;align-items:center;gap:12px;padding:14px;margin-bottom:9px}.care-mark{display:grid;place-items:center;height:34px;width:34px;flex-shrink:0;border-radius:10px;border:1px solid #c9dbca;background:#f3f9f1;color:#747a82}.care-item.is-done .care-mark{background:#e1f1dc;color:#34373c}.care-item.is-done .care-title{text-decoration:line-through;color:#d9dce0}.care-info{flex:1;min-width:0}.care-title{display:block;font-size:12px}.care-meta{color:#a9aeb4;font-size:10px;margin-top:4px}.care-date{font-size:10px;font-weight:800;color:#747a82;background:#eff6ec;border-radius:8px;padding:7px 8px;white-space:nowrap}.care-date.overdue{background:#fff0e5;color:#aa6845}.care-remove{border:0;background:transparent;color:#ad9d97;font-size:20px;padding:5px 9px}.muted-empty{color:#a9aeb4;text-align:center;font-size:11px;padding:21px;border:1px dashed #dce7da;border-radius:13px;background:#ffffffac}
    .message-layout{display:grid;grid-template-columns:210px minmax(0,1fr);background:#fff;border-radius:20px;border:1px solid #e7eee6;overflow:hidden;min-height:470px}.message-side{border-right:1px solid #edf0eb;padding:13px 8px;background:#fcfdfb}.message-side h3{padding:3px 9px 11px;margin:0;font-size:12px}.thread-btn{width:100%;padding:10px 7px;display:flex;gap:9px;align-items:center;text-align:left;border:0;background:transparent;border-radius:12px}.thread-btn.active{background:#eaf5e7}.thread-btn:hover{background:#f3f8f1}.thread-btn strong{display:block;font-size:11px}.thread-btn small{color:#a9aeb4;display:block;font-size:9px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:105px}.chat-area{display:flex;flex-direction:column;min-width:0}.chat-header{padding:14px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf0eb}.chat-header strong{font-size:12px}.chat-header small{display:block;font-size:9px;color:#a9aeb4}.chat-history{flex:1;min-height:300px;max-height:510px;overflow:auto;padding:18px 14px;background:linear-gradient(155deg,#fcfdfb,#f7faf5);display:flex;flex-direction:column;gap:10px}.chat-bubble{padding:10px 12px;border-radius:14px;max-width:89%;font-size:11px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start;background:#fff;border:1px solid #e6eee5}.chat-bubble.me{background:#dff1d9;border-color:#ebecee;align-self:flex-end}.chat-bubble small{display:block;text-align:right;font-size:9px;color:#a9aeb4;margin-top:4px}.chat-form{border-top:1px solid #edf0eb;padding:12px;display:flex;gap:8px}.chat-form input{min-width:0;flex:1;border-radius:11px;border:1px solid #e0e9df;padding:11px 12px;outline:none;font-size:11px}.chat-form button{flex-shrink:0}.messages-banner{font-size:10px;color:#a9aeb4;padding:7px 14px;background:#f0f6ed;border-bottom:1px solid #e7eee6}
    .pet-cta-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0 12px}.pet-avatar-lg{width:108px;height:108px;object-fit:cover;border-radius:19px;border:3px solid #e9f2e8;background:#edf4ea}.pet-profile-title{font-size:20px;margin:0}.pet-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.pet-info-grid div{background:#f5f8f3;border-radius:12px;padding:12px}.pet-info-grid strong{font-size:10px;display:block;color:#a9aeb4;margin-bottom:5px}.pet-info-grid span{font-size:12px;font-weight:800}.profile-pet{cursor:pointer;text-align:left;width:100%;border:1px solid #e8eee7}.profile-pet:hover{border-color:#d9dce0}.feature-actions{display:flex;gap:7px;flex-wrap:wrap}.feature-actions button{padding:9px 12px}.mobile-tool-switch{display:none}
    @media(max-width:1260px){.app-shell{grid-template-columns:207px minmax(0,630px) 255px;gap:17px}.quick-card{padding:12px 9px;gap:7px}.quick-symbol{width:32px;height:32px}}
    @media(max-width:1080px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar-bottom{padding-bottom:10px}}
    @media(max-width:690px){.app-shell{display:block}.mobile-header .mobile-tool-switch{display:grid}.hero{min-height:188px}.hero h2{font-size:25px}.quick-grid{gap:7px;margin:0 0 18px}.quick-card{display:block;padding:12px 8px}.quick-symbol{width:31px;height:31px;margin-bottom:9px}.quick-card strong{font-size:10px}.quick-card small{font-size:9px}.lost-grid{gap:9px}.lost-body{padding:11px}.lost-cover{aspect-ratio:1.5}.lost-body p{font-size:10px}.lost-foot{flex-wrap:wrap}.message-layout{grid-template-columns:1fr;min-height:unset}.message-side{border-right:0;border-bottom:1px solid #edf0eb;display:flex;align-items:center;gap:5px;overflow-x:auto;padding:9px;scrollbar-width:none}.message-side h3{display:none}.thread-btn{width:auto;flex:0 0 auto;min-width:124px;padding:8px}.thread-btn .avatar{width:30px;height:30px}.thread-btn small{max-width:85px}.chat-history{min-height:270px;max-height:380px}.care-item{gap:8px;padding:10px}.care-date{padding:6px 7px}.feature-head h2{font-size:16px}}
    @media(max-width:390px){.lost-grid{grid-template-columns:1fr}.lost-cover{aspect-ratio:2.1}.quick-grid{gap:5px}.quick-card{padding:10px 7px}.quick-card strong{font-size:9.5px}.form-2col{grid-template-columns:1fr}}
    .message-start{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;padding:9px 10px;border:1px solid #e4eee2;background:#f6faf5;color:#747a82;border-radius:9px;font-size:10px;font-weight:800}.message-start .icon{width:15px;height:15px}.message-start:hover{background:#e8f3e7}
  
/* ===== PATİ BİLGİ MERKEZİ ===== */
.knowledge-hero{position:relative;overflow:hidden;background:linear-gradient(130deg,#34373c 0%,#34373c 80%,#747a82);color:#fff;border-radius:23px;padding:26px;margin-bottom:19px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:175px}
.knowledge-hero:before{content:"";position:absolute;border:1px solid #ffffff35;width:270px;height:270px;border-radius:50%;top:-125px;right:-45px;pointer-events:none}.knowledge-hero:after{content:"";position:absolute;background:#ffffff12;width:160px;height:160px;border-radius:50%;bottom:-95px;right:50px;pointer-events:none}
.knowledge-eyebrow{font-size:10px;letter-spacing:1.5px;color:#f5f5f6;font-weight:800;margin-bottom:8px}.knowledge-hero h2{margin:0;font-size:26px;letter-spacing:-1px;line-height:1.3;font-weight:800;max-width:380px}.knowledge-hero p{max-width:420px;font-size:11.5px;color:#e4f4e4;line-height:1.65;margin:10px 0 0}.knowledge-illustration{font-size:75px;flex:0 0 auto;filter:drop-shadow(0 8px 9px #17191d66);transform:rotate(-8deg)}
.kb-statline{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 0}.kb-statline span{display:inline-flex;gap:6px;align-items:center;font-size:10px;padding:6px 10px;background:#ffffff24;color:#e7faed;border:1px solid #ffffff19;border-radius:99px;font-weight:800}
.kb-search{display:flex;align-items:center;gap:10px;background:white;border:1px solid #e3ede5;padding:13px 15px;border-radius:15px;box-shadow:var(--shadow);margin:0 0 13px}.kb-search .icon{color:#a9aeb4;width:19px}.kb-search input{width:100%;outline:none;border:0;min-width:0;color:var(--ink);font-size:12px;background:transparent}.kb-search input::placeholder{color:#9caaa1}
.kb-label{font-size:10px;letter-spacing:1.25px;font-weight:800;color:#a9aeb4;margin:21px 1px 10px}
.kb-chips{display:flex;gap:8px;overflow-x:auto;padding:0 0 5px;scrollbar-width:none}.kb-chips::-webkit-scrollbar{display:none}.kb-chip{white-space:nowrap;display:flex;align-items:center;gap:6px;padding:10px 13px;background:white;border:1px solid #e4ece5;color:#747a82;border-radius:12px;font-size:11px;font-weight:800;transition:.2s}.kb-chip.active,.kb-chip:hover{background:#e2f0de;color:#34373c;border-color:#ebecee}.kb-chip.active{box-shadow:inset 0 0 0 1px #d9dce0}
.kb-result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 12px}.kb-result-heading h3{margin:0;font-size:15px;letter-spacing:-.25px}.kb-result-heading span{color:#a9aeb4;font-size:11px}
.kb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.kb-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:204px;border-radius:18px;border:1px solid #e8eee9;background:#fff;overflow:hidden;box-shadow:0 5px 22px #17191d08;transition:transform .2s,border-color .2s}.kb-card:hover{border-color:#d9dce0;transform:translateY(-2px)}.kb-card-main{border:0;background:transparent;flex:1;display:flex;align-items:start;flex-direction:column;text-align:left;padding:18px 16px 10px;gap:0;color:inherit;width:100%}.kb-meta{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;color:#747a82;margin-bottom:12px}.kb-spec-emoji{height:28px;width:28px;border-radius:10px;background:#eef6e9;display:grid;place-items:center;font-size:17px}.kb-card h4{font-size:14px;line-height:1.43;margin:0 0 7px;font-weight:800;letter-spacing:-.3px}.kb-card p{font-size:10.7px;line-height:1.67;color:#747a82;margin:0 0 9px;flex:1}.kb-card-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px 13px 12px 16px;border-top:1px solid #f1f4ef;color:#747a82;font-size:10.5px;font-weight:800}.kb-card-footer button{background:#f1f7ef;color:#34373c;border:0;border-radius:9px;padding:8px 9px;display:flex;align-items:center;gap:5px}.kb-card-footer .icon{width:14px;height:14px}.kb-fav.active{color:#d67a4b;background:#ffefe6}.kb-feature-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0 5px}.kb-feature-btn{border:1px solid #e3ecdf;background:#fff;border-radius:14px;text-align:left;padding:15px;display:flex;gap:12px;align-items:center;color:#34373c}.kb-feature-btn:hover{background:#f4faef}.kb-feature-btn .big{font-size:24px}.kb-feature-btn strong{display:block;font-size:11.5px}.kb-feature-btn small{display:block;font-size:10px;color:#a9aeb4;margin-top:4px}
.kb-empty{padding:42px 20px;text-align:center;background:white;border:1px dashed #cadccc;border-radius:20px}.kb-empty strong{display:block;font-size:14px;margin:7px 0}.kb-empty p{font-size:11px;color:#a9aeb4}.kb-empty button{margin:8px auto 0}.kb-note{margin:22px 0 0;padding:13px 16px;background:#f3f0e9;border:1px solid #e9e2d5;border-radius:14px;color:#776b59;font-size:10.5px;line-height:1.7}
.kb-article{max-width:820px}.kb-article-back{display:inline-flex;align-items:center;gap:7px;padding:9px 0;margin-bottom:15px;border:0;background:transparent;color:#747a82;font-size:12px;font-weight:800}.kb-article-heading{padding:22px 23px 19px;border-radius:21px;background:linear-gradient(135deg,#eaf5e4,#fcfdf9);border:1px solid #e5eee2;margin-bottom:13px}.kb-article-label{font-size:11px;color:#747a82;font-weight:800}.kb-article-heading h1{font-size:26px;line-height:1.28;letter-spacing:-.7px;margin:10px 0}.kb-article-heading p{font-size:13px;color:#747a82;line-height:1.7;margin:0}.kb-article-body{background:#fff;border:1px solid #e5eee6;border-radius:19px;padding:23px 24px}.kb-article-body h3{font-size:15px;margin:0 0 12px}.kb-article-body p{font-size:13px;line-height:1.85;color:#34373c;margin:0 0 17px}.kb-article-body ul{padding-left:19px;margin:0 0 23px}.kb-article-body li{font-size:12.5px;line-height:1.85;color:#747a82;padding-left:3px;margin-bottom:7px}.kb-article-box{background:#f9f6ef;border-left:3px solid #e9bb7d;padding:12px 14px;border-radius:10px;color:#806a49;font-size:11px;line-height:1.7;margin:15px 0}.kb-article-foot{display:flex;gap:9px;flex-wrap:wrap;align-items:center;border-top:1px solid #e8eee8;padding-top:16px;margin-top:20px}.kb-source{display:inline-flex;gap:7px;align-items:center;color:#34373c;text-decoration:underline;font-weight:800;font-size:11px}.kb-save-btn{border:1px solid #d5e5d6;background:#f0f7ec;color:#34373c;font-weight:800;border-radius:11px;padding:11px 14px;font-size:11px}.kb-save-btn.active{background:#e5f1df;border-color:#d9dce0}
.kb-home-insert{background:#fff;border:1px solid #e5efe2;border-radius:18px;display:flex;align-items:center;gap:14px;justify-content:space-between;padding:16px 17px;margin-bottom:19px;box-shadow:var(--shadow)}.kb-home-insert .kb-homelogo{background:#e9f5e0;border-radius:13px;font-size:26px;padding:10px}.kb-home-insert strong{font-size:13px}.kb-home-insert p{font-size:10.5px;margin:3px 0 0;color:#a9aeb4;line-height:1.55}.kb-home-insert button{flex-shrink:0;border:0;border-radius:11px;background:#34373c;color:white;padding:11px 12px;font-weight:800;font-size:11px}
@media(max-width:650px){.knowledge-hero{padding:21px 18px;min-height:170px;gap:4px}.knowledge-hero h2{font-size:23px}.knowledge-hero p{font-size:10.5px}.knowledge-illustration{font-size:56px}.kb-grid{gap:9px}.kb-card{min-height:206px}.kb-card-main{padding:13px 12px 7px}.kb-card h4{font-size:12px}.kb-card p{font-size:10px}.kb-card-footer{padding:9px 11px}.kb-chip{padding:9px 11px}.kb-feature-btn{padding:12px;gap:7px}.kb-article-heading{padding:17px}.kb-article-heading h1{font-size:22px}.kb-article-body{padding:18px}.kb-home-insert{padding:12px}.kb-home-insert .kb-homelogo{font-size:21px;padding:8px}.kb-home-insert button{padding:9px;font-size:10px}}
@media(max-width:355px){.kb-grid{grid-template-columns:1fr}.kb-home-insert{flex-wrap:wrap}}


/* Patiyiz online sürüm ek ekranları */
.hidden{display:none!important}.startup{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--green);font-size:16px;font-weight:800}.spinner{height:24px;width:24px;border:3px solid #d8eada;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auth-root{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 80% 10%,#dcefd5 0,transparent 35%),linear-gradient(155deg,#f2f7ef,#fcfdfb)}
.auth-card{width:min(100%,440px);background:#fff;border:1px solid var(--border);border-radius:27px;box-shadow:0 25px 75px #17191d16;padding:37px 34px}.auth-brand{text-align:center;margin-bottom:26px}.auth-brand .brand-icon{margin:0 auto 16px;width:59px;height:59px}.auth-brand h1{font-size:36px;letter-spacing:-2px;margin:0;color:var(--ink)}.auth-brand p{font-size:13px;color:var(--muted);margin:5px 0 0}.auth-card h2{font-size:21px;letter-spacing:-.5px;margin:0 0 6px}.auth-sub{font-size:13px;color:#a9aeb4;margin:0 0 22px;line-height:1.6}.auth-tabs{display:flex;background:#f2f7f0;padding:5px;border-radius:13px;margin-bottom:22px;gap:4px}.auth-tabs button{flex:1;border:0;background:transparent;color:#747a82;font-size:12px;font-weight:800;padding:12px;border-radius:10px}.auth-tabs button.active{background:white;box-shadow:0 2px 10px #17191d13;color:var(--green)}
.auth-card .form-row{margin:0 0 14px}.auth-card .form-control{width:100%;padding:13px 14px}.auth-card .primary-btn{width:100%;justify-content:center;padding:14px;margin-top:4px}.small-note{font-size:11px;color:#a9aeb4;line-height:1.7;margin:14px 0 0}.btn-link{border:0;background:none;color:var(--green);cursor:pointer;font-size:12px;font-weight:800;padding:9px 1px}.auth-bottom{text-align:center;margin-top:13px}.setup-card{max-width:690px}.setup-card code{word-break:break-all}
.page-intro .top-actions{flex-shrink:0}.page-kicker{font-size:11px;letter-spacing:.08em;font-weight:800;color:#a9aeb4}.section-head{margin-top:3px}.empty{background:#fff;padding:36px 23px;text-align:center;border-radius:19px;border:1px dashed #d4e4d7;color:#a9aeb4;font-size:13px;line-height:1.7}.empty strong{color:#34373c;display:block;font-size:16px;margin:10px 0 3px}
.pati-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.pati-field label{font-size:12px;color:#747a82;font-weight:800}.pati-field input,.pati-field select,.pati-field textarea,.pati-field .form-control{width:100%;border:1px solid #e4ede5;background:#fbfdfa;border-radius:11px;padding:12px 13px;color:var(--ink);font:inherit;font-size:13px}.pati-field textarea{resize:vertical;min-height:95px;line-height:1.6}.pati-field input:focus,.pati-field select:focus,.pati-field textarea:focus{outline:2px solid #ebecee;border-color:#d9dce0}.pati-field .hint{font-size:11px;color:#a9aeb4}.pati-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pati-row.between{justify-content:space-between}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px}.primary-btn,.soft-btn,.outline-btn,.small-btn{border:0;display:inline-flex;gap:7px;align-items:center;justify-content:center;cursor:pointer;font-weight:800;transition:background .2s,transform .2s}.primary-btn{background:var(--green);color:#fff;border-radius:11px;padding:11px 17px;font-size:12px}.soft-btn{background:#eaf5e9;color:#34373c;border-radius:11px;padding:10px 14px;font-size:12px}.outline-btn{background:white;border:1px solid #dfe9df;color:#34373c;border-radius:11px;padding:10px 14px;font-size:12px}.small-btn{background:#eff6ed;color:#34373c;padding:7px 10px;font-size:11px;border-radius:8px}.danger-btn{color:#bc5c51!important;background:#fff2f0!important}.primary-btn:disabled,.soft-btn:disabled{opacity:.6;cursor:progress}
.segmented{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}.segmented button{border:1px solid #e3ebe3;background:#fff;padding:9px 13px;border-radius:10px;color:#747a82;font-size:12px;font-weight:800}.segmented button.active{background:#e7f4e7;color:#34373c;border-color:#ebecee}.toolbar{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}.toolbar .input-search{flex:1;min-width:180px;padding:11px 14px;background:#fff;border:1px solid #e4ece5;border-radius:11px;font-size:12px}
.pati-list{display:grid;gap:13px}.pati-card{background:#fff;border:1px solid #e6ede6;border-radius:18px;overflow:hidden;padding:18px;box-shadow:var(--shadow)}.pati-card h3{font-size:15px;margin:0 0 6px;line-height:1.5;color:var(--ink)}.pati-card p{font-size:12px;color:#747a82;line-height:1.75;margin:7px 0}.pati-card .meta{color:#a9aeb4;font-size:10px;font-weight:700}.pati-pill{display:inline-flex;align-items:center;background:#ecf6ed;border-radius:8px;padding:5px 8px;color:#747a82;font-size:10px;font-weight:800}.pati-tag{color:#747a82;font-size:11px}.pati-photo{aspect-ratio:16/10;display:grid;place-items:center;background:#e6f0dc;border-radius:13px;overflow:hidden;margin:9px 0 13px;font-size:54px}.pati-photo img{width:100%;height:100%;object-fit:cover}.pati-profile-row{display:flex;align-items:center;gap:11px}.pati-profile-row>div{min-width:0}.pati-profile-row strong{display:block;font-size:12px}.pati-profile-row small{font-size:10px;color:#a9aeb4}.pati-actionbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px;padding-top:11px;border-top:1px solid #eef2ed}.pati-actionbar button{border:0;background:transparent;color:#747a82;font-size:12px;font-weight:800;padding:7px 9px;border-radius:8px}.pati-actionbar button:hover{background:#eef6ed}.pati-actionbar button.active{color:#34373c}.pati-actionbar button.danger{color:#ba6a55}
.mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.pet-bubble{border-radius:15px;width:57px;height:57px;overflow:hidden;display:grid;place-items:center;background:#eaf2de;font-size:27px;flex-shrink:0}.pet-bubble img{width:100%;height:100%;object-fit:cover}.member-tile{padding:17px;border-radius:17px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow)}.member-tile p{min-height:34px}.member-tile strong{font-size:12px}.member-tile .pet-bubble{margin-bottom:13px}.member-tile button{margin-top:8px}
.hero-online{background:linear-gradient(115deg,#34373c,#747a82);border-radius:21px;padding:25px;position:relative;overflow:hidden;color:white;margin-bottom:19px;min-height:146px}.hero-online:after{content:'🐾';position:absolute;right:24px;top:14px;font-size:91px;opacity:.18;transform:rotate(-15deg)}.hero-online small{font-size:10px;letter-spacing:.12em;color:#f5f5f6;font-weight:800}.hero-online h2{font-size:25px;letter-spacing:-1px;margin:11px 0 7px;color:white}.hero-online p{font-size:12px;color:#f5f5f6;line-height:1.6;max-width:370px;margin:0}.profile-banner{height:112px;background:linear-gradient(110deg,#34373c,#d9dce0);border-radius:17px;position:relative}.profile-summary{margin:-24px 20px 17px;position:relative;display:flex;align-items:flex-end;gap:14px}.profile-summary .pet-bubble{width:74px;height:74px;border:4px solid white;font-size:30px}.stat-row{display:flex;gap:17px;flex-wrap:wrap;margin-top:14px}.stat-row span{font-size:11px;color:#a9aeb4}.stat-row strong{display:block;color:var(--ink);font-size:18px}.detail-avatar{width:76px;height:76px;border-radius:22px;background:#e6f4e0;display:grid;place-items:center;font-size:36px;overflow:hidden}.detail-avatar img{width:100%;height:100%;object-fit:cover}
.chat-layout{display:grid;grid-template-columns:minmax(155px,34%) 1fr;gap:12px;min-height:460px}.chat-people{background:#fff;border:1px solid #e8eee7;border-radius:18px;overflow:auto;max-height:580px}.chat-person{padding:13px 12px;border:0;background:#fff;width:100%;display:flex;gap:9px;align-items:center;text-align:left;border-bottom:1px solid #f2f5f0}.chat-person.active{background:#eaf5eb}.chat-window{border-radius:18px;background:#fff;border:1px solid #e8eee7;display:flex;flex-direction:column;min-width:0;max-height:580px}.chat-window>header{padding:16px;border-bottom:1px solid #eff2ef;font-size:13px;font-weight:800}.chat-history{flex:1;min-height:310px;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.bubble-chat{align-self:flex-start;max-width:82%;padding:11px 14px;border-radius:13px 13px 13px 3px;background:#f0f6ef;color:#34373c;font-size:12px;line-height:1.5;word-break:break-word}.bubble-chat.mine{align-self:flex-end;background:#34373c;color:#fff;border-radius:13px 13px 3px 13px}.bubble-chat small{display:block;font-size:9px;opacity:.7;margin-top:6px}.chat-form{display:flex;gap:8px;padding:13px;border-top:1px solid #eff2ef}.chat-form input{flex:1;min-width:0;padding:11px;border:1px solid #e3ebe2;border-radius:11px;font-size:12px}
.modal-backdrop{position:fixed;inset:0;background:#17191db3;backdrop-filter:blur(5px);z-index:180;display:flex;align-items:center;justify-content:center;padding:19px}.modal{width:min(100%,530px);max-height:90vh;overflow:auto;background:#fff;border-radius:23px;box-shadow:0 25px 90px #0003;padding:0}.modal-header{padding:20px 22px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eaf0e9;gap:12px}.modal-header h2{font-size:17px;margin:0}.modal-content{padding:20px 22px}.modal-footer{padding:13px 22px 20px;border-top:1px solid #eff2ee;display:flex;justify-content:flex-end;gap:9px}.modal .close-modal{background:#f2f7f0;border:0;width:32px;height:32px;border-radius:10px;color:#747a82;font-weight:800;font-size:20px}
.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.knowledge-card{background:#fff;border:1px solid #e5ece5;border-radius:16px;padding:17px;cursor:pointer;text-align:left}.knowledge-card:hover{border-color:#d9dce0;background:#fcfffb}.knowledge-card .kb-emoji{font-size:26px;margin-bottom:8px}.knowledge-card strong{display:block;line-height:1.5;color:#34373c;font-size:13px}.knowledge-card p{font-size:11px;color:#747a82;line-height:1.6}.knowledge-content{font-size:13px;color:#747a82;line-height:1.9;white-space:pre-line}.knowledge-content h3{margin:14px 0 4px}.kb-tips{background:#ecf7e9;border-radius:13px;padding:15px;color:#34373c;margin:15px 0}.kb-tips li{margin:7px 0;font-size:12px}.readable a{color:var(--green);font-weight:800;word-break:break-all}
.toast-stack{position:fixed;bottom:22px;right:22px;z-index:250;display:grid;gap:8px}.pati-toast{background:#17191d;color:white;padding:13px 17px;border-radius:13px;box-shadow:0 10px 30px #0002;font-size:12px;max-width:360px}.pati-toast.error{background:#8a463b}.pati-note{padding:13px 16px;border-radius:12px;background:#fff8ea;color:#866333;font-size:12px;line-height:1.7;border:1px solid #f2e6c6;margin:10px 0 17px}.pati-note.green{background:#edf7ed;color:#34373c;border-color:#d6e9d6}
@media(max-width:900px){.right-rail{display:none}.app-shell{grid-template-columns:215px minmax(0,650px)}.chat-layout{grid-template-columns:minmax(130px,35%) 1fr}}
@media(max-width:740px){.app-shell{display:block;padding:78px 13px 100px}.sidebar{display:none}.mobile-header{display:flex!important}.mobile-bottom{display:flex!important}.mobile-fab{display:grid!important}.main{max-width:660px;margin:auto}.page-intro{margin-bottom:17px}.form-columns{grid-template-columns:1fr}.mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.auth-card{padding:25px 20px}.chat-layout{grid-template-columns:1fr}.chat-people{display:flex;overflow:auto;max-height:95px}.chat-person{flex:0 0 145px;border-right:1px solid #eaf0e7;border-bottom:0}.chat-history{min-height:260px}.chat-window{max-height:500px}.knowledge-grid{grid-template-columns:1fr}.mosaic{gap:9px}.pati-card{padding:15px}.hero-online h2{font-size:22px}.page-title{font-size:24px}}


/* ---- PATIYIZ / PREMIUM UYELIK ARAYUZU (2026-10) ----
   Sadece giris/kayit/sifre sifirlama sayfalari icindir.
   Logo daha sonra .auth-brand .brand-icon uzerinden degistirilebilir. */
.auth-root{
  --auth-forest:#17191d;
  --auth-text:#17191d;
  --auth-muted:#747a82;
  display:flex;
  min-height:100vh;
  min-height:100dvh;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:#f1f5ef;
  background-image:radial-gradient(circle at 80% 5%,rgba(231,231,231,.32),transparent 40%),
    radial-gradient(circle at 5% 90%,rgba(231,231,231,.40),transparent 45%);
}
.auth-shell{width:min(1120px,100%);min-height:660px;display:grid;grid-template-columns: .96fr 1fr;
  overflow:hidden;border-radius:30px;box-shadow:0 36px 100px rgba(23,23,23,.12),0 3px 15px rgba(23,23,23,.05);
  background:#fff;border:1px solid #e2e9df}
.auth-story{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;
  overflow:hidden;min-width:0;padding:34px 38px 38px;color:#fff;
  background-color:#17191d;
  background-image:linear-gradient(180deg,rgba(23,23,23,.55) 0%,rgba(23,23,23,.08) 36%,rgba(23,23,23,.62) 70%,rgba(23,23,23,.96) 100%),
    url("https://images.unsplash.com/photo-1552053831-71594a27632d?auto=format&fit=crop&w=1200&q=85");
  background-repeat:no-repeat;background-size:cover;background-position:center 37%}
.auth-story::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:linear-gradient(140deg,rgba(160,160,160,.11),transparent 55%)}
.auth-story-top{display:flex;align-items:center;gap:11px;position:relative;z-index:1}
.auth-story-top .auth-story-icon{width:43px;height:43px;border:1px solid rgba(255,255,255,.32);
  background:rgba(255,255,255,.16);border-radius:14px;display:grid;place-items:center;font-size:23px;backdrop-filter:blur(8px)}
.auth-story-top strong{font-family:"Plus Jakarta Sans","DM Sans",sans-serif;letter-spacing:-1.2px;font-size:26px;line-height:1}
.auth-story-top strong span{color:#ebecee}
.auth-story-topline{font-size:9px;font-weight:800;letter-spacing:1.5px;margin-left:auto;
  color:#ebffe9;background:rgba(23,23,23,.25);padding:9px 11px;border:1px solid rgba(255,255,255,.22);border-radius:100px}
.auth-story-bottom{max-width:430px;position:relative;z-index:1}
.auth-story-label{display:inline-flex;align-items:center;gap:8px;color:#f5f5f6;font-size:10px;font-weight:800;
  letter-spacing:1.45px;margin-bottom:15px}
.auth-story-dot{width:7px;height:7px;border-radius:50%;background:#ebecee;box-shadow:0 0 0 4px #ebecee21}
.auth-story h2{font-family:"Plus Jakarta Sans","DM Sans",sans-serif;color:#fff;
  font-size:clamp(34px,3.5vw,53px);font-weight:800;letter-spacing:-2.3px;line-height:1.15;margin:0 0 16px}
.auth-story h2 em{font-style:normal;color:#ebecee}
.auth-story-bottom>p{font-size:14px;line-height:1.9;color:#eef7ec;opacity:.9;margin:0 0 27px;max-width:350px}
.auth-story-feature{display:flex;align-items:center;gap:13px;max-width:382px;
  border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.13);
  padding:13px 14px;border-radius:17px;backdrop-filter:blur(14px)}
.auth-story-emoji{width:44px;height:44px;border-radius:12px;background:#ffffff26;display:grid;place-items:center;font-size:21px}
.auth-story-feature div:nth-child(2){display:grid;gap:5px;min-width:0}
.auth-story-feature strong{font-size:12px;color:#fff;line-height:1.3}
.auth-story-feature span{font-size:11px;color:#e4f3e3}
.auth-story-arrow{margin-left:auto;font-size:22px!important}
.auth-pane{display:flex;align-items:center;justify-content:center;min-width:0;padding:45px clamp(23px,4vw,62px);background:white}
.auth-pane .auth-card{width:100%;max-width:430px;border:0;border-radius:0;box-shadow:none;padding:0;background:transparent}
.auth-pane .auth-brand{display:flex;align-items:center;gap:12px;text-align:left;margin:0 0 45px}
.auth-pane .auth-brand .brand-icon{flex:0 0 auto;margin:0;width:51px;height:51px;border-radius:16px;
  display:grid;place-items:center;background:#e7f3e9;color:#34373c;font-size:24px;box-shadow:none}
.auth-pane .auth-brand h1{font-family:"Plus Jakarta Sans","DM Sans",sans-serif;font-size:27px;line-height:1.1;letter-spacing:-1.4px}
.auth-pane .auth-brand p{margin:5px 0 0;font-size:11px;color:#a9aeb4}
.auth-pane .auth-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#747a82;margin:0 0 10px}
.auth-pane .auth-card h2{font-family:"Plus Jakarta Sans","DM Sans",sans-serif;
  color:#17191d;font-size:clamp(26px,2.7vw,33px);line-height:1.2;letter-spacing:-1.1px;margin:0 0 10px}
.auth-pane .auth-sub{font-size:13px;line-height:1.7;color:#a9aeb4;max-width:370px;margin:0 0 26px}
.auth-pane .auth-tabs{border:1px solid #e5ede7;background:#f4f8f4;border-radius:14px;
  padding:5px;gap:4px;margin:0 0 27px}
.auth-pane .auth-tabs button{font:inherit;font-size:12px;font-weight:800;letter-spacing:0;
  min-height:40px;border-radius:10px;color:#747a82;cursor:pointer}
.auth-pane .auth-tabs button.active{color:#34373c;box-shadow:0 3px 12px rgba(23,23,23,.09);background:white}
.auth-pane .pati-field{gap:8px;margin-bottom:17px}
.auth-pane .pati-field label{font-size:12px;font-weight:750;color:#34373c}
.auth-pane .pati-field input{min-height:50px;background:#fbfcfa;border:1.5px solid #e5ebe4;
  border-radius:13px;padding:13px 15px;font-size:13px;transition:box-shadow .18s,border-color .18s,background .18s}
.auth-pane .pati-field input::placeholder{color:#a6b2aa}
.auth-pane .pati-field input:focus{outline:none;border-color:#a9aeb4;background:#fff;
  box-shadow:0 0 0 4px rgba(160,160,160,.12)}
.auth-pane .auth-submit{width:100%;min-height:52px;font-family:inherit;font-size:13px;
  font-weight:800;border-radius:13px;background:#34373c;margin-top:9px;
  display:flex;align-items:center;justify-content:space-between;padding:0 19px;
  box-shadow:0 10px 25px rgba(83,83,83,.14)}
.auth-pane .auth-submit:hover{background:#17191d}
.auth-pane .auth-submit span:last-child{font-size:21px;font-weight:400}
.auth-pane .auth-bottom{margin-top:14px}
.auth-pane .auth-bottom .btn-link{font-size:12px;padding:9px;color:#34373c}
.auth-pane .small-note{font-size:11px;margin:16px 0 0;color:#a9aeb4;line-height:1.8;
  border-top:1px solid #edf1eb;padding-top:17px}
.auth-pane .pati-note{background:#eaf7ec;color:#34373c;border:1px solid #ebecee;
  padding:11px 13px;border-radius:12px;font-size:12px;line-height:1.5;margin-bottom:18px}
.auth-root>.setup-card{box-shadow:0 18px 64px #17191d14}
@media(max-width:860px){
  .auth-root{padding:18px}
  .auth-shell{grid-template-columns:.8fr 1fr;min-height:640px}
  .auth-story{padding:27px 25px 30px}
  .auth-story-topline{display:none}
  .auth-story h2{font-size:35px}
  .auth-pane{padding:40px 29px}
}
@media(max-width:680px){
  .auth-root{align-items:flex-start;padding:0;background:#fff}
  .auth-shell{display:block;min-height:100vh;min-height:100dvh;
    width:100%;border:0;border-radius:0;box-shadow:none}
  .auth-story{display:none}
  .auth-pane{min-height:100vh;min-height:100dvh;padding:35px 25px 40px;align-items:flex-start}
  .auth-pane .auth-card{max-width:480px;margin:0 auto}
  .auth-pane .auth-brand{margin-bottom:49px}
  .auth-pane .auth-card h2{font-size:30px}
  .auth-pane .auth-submit{min-height:55px}
}
@media(max-width:370px){
  .auth-pane{padding:24px 18px 28px}
  .auth-pane .auth-brand{margin-bottom:33px}
  .auth-pane .auth-card h2{font-size:27px}
}

/* Mobile header location correction: keep the original design and nav. */
@media (max-width:740px){
  #app-root>.mobile-header{position:sticky;top:0;z-index:45;display:flex!important;width:100%;box-sizing:border-box}
  #app-root>.app-shell{padding-top:0!important;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
  #app-root>.mobile-fab{bottom:calc(86px + env(safe-area-inset-bottom,0px));right:17px}
}

/* iPhone / Android: fixed top actions and fixed five-item navigation. */
@media (max-width:740px){
  #app-root:not(.hidden)>.mobile-header{
    position:fixed!important;
    top:0!important;left:0;right:0;
    z-index:80!important;
    width:100%!important;
    min-height:64px;
    box-sizing:border-box;
    padding-top:calc(11px + env(safe-area-inset-top,0px))!important;
    padding-bottom:11px!important;
    background:rgba(248,250,247,.97)!important;
    box-shadow:0 2px 12px rgba(23,23,23,.05);
  }
  #app-root>.app-shell{
    padding-top:calc(78px + env(safe-area-inset-top,0px))!important;
    padding-bottom:calc(113px + env(safe-area-inset-bottom,0px))!important;
    min-height:100dvh;
  }
  #app-root>.mobile-bottom{
    position:fixed!important;
    bottom:0!important;left:0!important;right:0!important;
    z-index:70!important;
  }
  #app-root>.mobile-fab{
    position:fixed!important;
    bottom:calc(85px + env(safe-area-inset-bottom,0px))!important;
    z-index:72!important;
  }
}

/* Patiyiz: single comfortable mobile navigation; icons never scroll away */
.pati-mobile-menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pati-mobile-menu-item{min-width:0;display:flex;align-items:center;gap:10px;min-height:55px;text-align:left;border:1px solid #e5ede5;background:#f8faf7;border-radius:13px;padding:12px;font-size:12px;font-weight:750;color:#34373c;cursor:pointer}
.pati-mobile-menu-item .icon{width:20px;height:20px;flex-shrink:0}.pati-mobile-menu-item.active{background:#e6f3e6;color:#34373c;border-color:#ebecee}
@media(max-width:740px){
 #app-root>.mobile-header .top-actions{display:none!important}
 #app-root>.mobile-header{justify-content:center!important;box-shadow:0 1px 10px rgba(23,23,23,.04)}
 #app-root>.mobile-bottom{display:flex!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;justify-content:space-around!important;align-items:center!important;z-index:90!important;padding:8px 4px max(10px,env(safe-area-inset-bottom,0px))!important;box-sizing:border-box}
 #app-root>.mobile-bottom .mobile-nav-btn{flex:1 1 0;min-width:0!important;max-width:none;min-height:44px;padding:5px 2px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;white-space:nowrap}
 #app-root>.mobile-bottom .mobile-nav-btn small{font-size:10px}
 #app-root>.app-shell{padding-bottom:calc(119px + env(safe-area-inset-bottom,0px))!important}
 #app-root>.mobile-fab{bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;right:16px!important}
 .pati-mobile-menu-list{gap:8px}
}

/* Patiyiz conversation and comments improvements */
.modern-chat{grid-template-columns:minmax(205px,36%) minmax(0,1fr);min-height:480px}
.chat-list-heading{padding:18px;font-size:14px;font-weight:800;color:#17191d;border-bottom:1px solid #eef2eb;display:flex;justify-content:space-between}
.chat-list-heading span{color:#a9aeb4}
.modern-chat .chat-person{cursor:pointer;gap:11px;min-height:66px}
.chat-person-info{flex:1;min-width:0}
.chat-person-info strong,.chat-person-info small{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.chat-person-info strong{font-size:12px;color:#17191d}.chat-person-info small{font-size:10px;color:#a9aeb4;margin-top:5px}
.chat-person-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;font-size:10px;color:#a9aeb4}
.chat-unread{display:grid;place-items:center;background:#34373c;border-radius:20px;color:white;padding:3px 6px;font-size:10px;min-width:19px}
.modern-chat .chat-window>header{display:flex;align-items:center;gap:10px;min-height:64px}
.modern-chat .chat-window>header strong,.modern-chat .chat-window>header small{display:block}.modern-chat .chat-window>header small{font-size:10px;color:#a9aeb4;font-weight:400;margin-top:3px}
.chat-view-profile{margin-left:auto}.modern-chat .chat-history{background:#fbfdfa;max-height:420px}
.comment-list{max-height:46vh;overflow:auto;padding-right:5px}.comment-item{padding:12px 0;border-bottom:1px solid #eaf0e9}.comment-item p{margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.comment-actions{display:flex;gap:13px;align-items:center}.comment-actions button{border:0;background:none;color:#747a82;cursor:pointer;font-size:11px;padding:4px}.comment-actions button.active{color:#c93865;font-weight:800}
@media(max-width:720px){.modern-chat{grid-template-columns:1fr}.modern-chat .chat-people{display:flex;max-height:105px}.modern-chat .chat-list-heading{display:none}.modern-chat .chat-person{flex:0 0 165px}.modern-chat .chat-window{max-height:66vh}.comment-list{max-height:42vh}}

/* Patiyiz mobile messaging: inbox-first, full-width conversations */
.mobile-chat-back{display:none}
@media(max-width:740px){
 #main-content:has(.modern-chat){max-width:none;width:100%;min-width:0}
 #main-content:has(.modern-chat) .page-intro{margin-bottom:12px}
 #app-root:has(.modern-chat)>.mobile-fab{display:none!important}
 .modern-chat{display:block!important;min-height:0!important;width:100%;max-width:100%;overflow:hidden}
 .modern-chat .chat-people{display:flex!important;flex-direction:column!important;max-height:none!important;width:100%;overflow:visible!important;border-radius:16px!important}
 .modern-chat .chat-list-heading{display:flex!important;padding:15px 17px}
 .modern-chat .chat-person{flex:none!important;width:100%!important;min-width:0;min-height:73px;border-right:0!important;border-bottom:1px solid #edf2ed!important;padding:12px 14px}
 .modern-chat .chat-person .avatar{flex-shrink:0}
 .modern-chat .chat-window{min-width:0;width:100%;max-height:none!important;min-height:0!important;border-radius:16px;overflow:hidden}
 .modern-chat.mobile-chat-list .chat-window{display:none!important}
 .modern-chat.mobile-chat-open .chat-people{display:none!important}
 .modern-chat.mobile-chat-open .chat-window{display:flex!important;height:calc(100dvh - 230px);min-height:340px}
 .modern-chat .chat-window>header{padding:11px 12px;min-height:58px;gap:9px}
 .modern-chat .chat-window>header .chat-view-profile{padding:8px 10px;font-size:11px}
 .modern-chat .chat-history{min-height:0!important;max-height:none!important;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:13px 12px}
 .modern-chat .bubble-chat{max-width:88%;font-size:13px}
 .modern-chat .chat-form{padding:10px;gap:7px;align-items:center;flex-shrink:0}
 .modern-chat .chat-form input{width:0;min-width:0;font-size:16px;min-height:44px;padding:10px}
 .modern-chat .chat-form .primary-btn{flex-shrink:0;padding:12px;font-size:12px;border-radius:11px}
 .mobile-chat-back{display:grid;place-items:center;flex-shrink:0;width:34px;height:36px;border:0;background:#eff6ee;color:#34373c;border-radius:10px;font-size:23px;cursor:pointer}
}
@media(max-width:380px){
 .modern-chat.mobile-chat-open .chat-window{height:calc(100dvh - 222px)}
 .modern-chat .chat-form .primary-btn{padding:10px}
}

/* Counts, follow lists, account settings */
.pati-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#db5160;color:white;font-size:10px;font-weight:800;line-height:1;margin-left:auto;vertical-align:middle;box-sizing:border-box}
.mobile-nav-btn .pati-count-badge{position:absolute;top:0;right:calc(50% - 23px);margin:0;box-shadow:0 0 0 2px #fff}.mobile-nav-btn{position:relative}
.pati-stat-link{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:3px 5px;border-radius:8px}.pati-stat-link:hover{background:#eef6ed}
.pati-follow-person{display:flex;align-items:center;justify-content:space-between;gap:14px}.pati-follow-person .pati-profile-row{flex:1;min-width:0}
.pati-settings-list{display:grid;gap:14px}.pati-settings-list .pati-card{min-width:0}.pati-settings-list .pati-actionbar{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:740px){#mobile-nav .pati-count-badge{top:0;right:calc(50% - 24px)}.pati-follow-person{flex-wrap:wrap}.pati-stat-link{font-size:11px}}

/* Profile follower lists: consistent top-left back button */
.pati-follow-backbar{display:flex;align-items:center;gap:10px;margin:0 0 14px;color:#747a82;font-size:12px;font-weight:700}
.pati-follow-back{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;border:1px solid #dae8dd;border-radius:12px;background:#fff;color:#34373c;font-size:24px;cursor:pointer;line-height:1}
.pati-follow-back:hover{background:#eaf5eb}
@media(max-width:740px){.pati-follow-backbar{margin-top:0;margin-bottom:12px}.pati-follow-back{width:42px;height:42px}}

.pati-filter-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px}.pati-filter-tabs button{border:1px solid #dbe8dc;background:#fff;color:#747a82;border-radius:999px;font:inherit;font-size:11px;font-weight:700;padding:8px 12px;cursor:pointer}.pati-filter-tabs button.active{background:#34373c;color:#fff;border-color:#34373c}@media(max-width:740px){.pati-filter-tabs{flex-wrap:nowrap;overflow:auto;scrollbar-width:none}.pati-filter-tabs button{flex:0 0 auto}}

/* Crisp, readable logo on the auth photograph */
.auth-story-top{isolation:isolate}
.auth-story-top .auth-story-icon{width:53px;height:53px;flex:0 0 53px;background:#f0fbef;border:1px solid rgba(255,255,255,.92);border-radius:16px;color:#34373c;box-shadow:0 4px 18px rgba(0,0,0,.25);backdrop-filter:none;-webkit-backdrop-filter:none}
.auth-story-top .auth-story-icon svg{width:32px;height:32px;display:block}
.auth-story-top>strong{color:#fff;text-shadow:0 2px 9px rgba(0,0,0,.55);font-weight:800}

/* Same crisp vector logo on both sides of the sign-in screen */
.auth-pane .auth-brand .auth-matching-logo{background:#f0fbef;color:#34373c;border:1px solid #ebecee;transform:none;box-shadow:0 4px 16px rgba(23,23,23,.08)}
.auth-pane .auth-brand .auth-matching-logo svg{display:block;width:32px;height:32px;transform:none}

.pati-load-more{text-align:center;padding:13px 10px}.pati-load-more .soft-btn{max-width:100%;white-space:normal}

/* Mobile experience phase 3: keyboard-safe chat, dialogs and accessible actions */
:root{--pati-keyboard-inset:0px}
@media(max-width:740px){
 .modern-chat.mobile-chat-open .chat-window{height:min(650px,calc(100dvh - 196px - var(--pati-keyboard-inset)));min-height:220px!important;display:flex;flex-direction:column}
 .pati-keyboard-open .modern-chat.mobile-chat-open .chat-window{height:calc(100dvh - 123px - var(--pati-keyboard-inset));min-height:165px!important}
 .pati-keyboard-open #app-root>.mobile-bottom,.pati-keyboard-open #app-root>.mobile-fab{display:none!important}
 .modern-chat .chat-history{flex:1 1 auto;min-height:0;overflow-y:auto}
 .modern-chat .chat-form{position:relative;z-index:2;background:#fff;padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}
 .modern-chat .chat-form input{flex:1 1 auto;min-width:0!important;font-size:16px}
 .modern-chat .chat-form button{min-height:44px;white-space:nowrap}
 #modal-root .modal-backdrop{align-items:center;padding:12px}
 #modal-root .modal{width:min(100%,520px);max-height:calc(100dvh - var(--pati-keyboard-inset) - 24px);overflow:auto;overscroll-behavior:contain}
 #modal-root .modal-content{max-height:none;overflow:visible}
 #modal-root input,#modal-root textarea,#modal-root select{font-size:16px}
 .pati-follow-back{touch-action:manipulation}
 .pati-follow-back:focus-visible,.mobile-chat-back:focus-visible,.close-modal:focus-visible{outline:3px solid #d9dce0;outline-offset:2px}
}

/* Patiyiz clean profile and trusted verification mark */
.pati-verified{display:inline-grid;place-items:center;margin-left:5px;width:18px;height:18px;border-radius:50%;background:#1689e8;color:white;font-size:12px;font-weight:900;line-height:1;vertical-align:middle;box-shadow:0 0 0 2px white,0 2px 5px #147ed033}
.patiyiz-profile-card{padding:25px!important;border-radius:22px!important}
.patiyiz-profile-card .profile-summary{margin:0 0 17px!important;display:flex;align-items:center;gap:17px;min-width:0}
.patiyiz-profile-card .profile-summary .avatar{flex:0 0 auto;width:88px;height:88px;border-radius:25px;overflow:hidden;display:grid;place-items:center}
.patiyiz-profile-card .profile-summary .avatar img{width:100%;height:100%;object-fit:cover}
.patiyiz-profile-card .profile-summary h2{font-size:24px;margin:0 0 4px;line-height:1.3}
.patiyiz-profile-card>.stat-row{padding:19px 0;margin:14px 0 0;border-top:1px solid #edf2ed;border-bottom:1px solid #edf2ed;gap:16px 26px}
.patiyiz-profile-card>.pati-actionbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:19px}
.patiyiz-profile-card>p{margin:12px 0 15px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:740px){.patiyiz-profile-card{padding:18px!important}.patiyiz-profile-card .profile-summary .avatar{width:72px;height:72px;border-radius:21px}.patiyiz-profile-card .profile-summary h2{font-size:20px}.patiyiz-profile-card>.stat-row{justify-content:space-between;gap:12px}}

/* Long-press delete for individual conversation bubbles */
.bubble-chat[data-message-id]{touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:context-menu}
.pati-msg-delete{color:#bd4141!important;border-color:#e9c7c7!important;font-weight:750}

/* Notification bulk and individual controls */
.pati-notification-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 15px}.pati-notification-toolbar button:disabled{opacity:.48;cursor:not-allowed}.pati-notification-danger,.pati-notification-remove{color:#a93b3b!important;border-color:#ecd0d0!important}.pati-notification-row{display:flex;gap:9px;align-items:stretch;min-width:0}.pati-notification-entry{flex:1;min-width:0;width:auto!important;text-align:left;cursor:pointer;color:inherit;font:inherit;overflow-wrap:anywhere}.pati-notification-entry p{margin:7px 0 0}.pati-notification-remove{align-self:center;flex-shrink:0;width:43px;height:43px;border:1px solid #eedada;border-radius:12px;background:#fff;cursor:pointer;font-size:16px}.pati-notification-remove:hover{background:#fff1f1}@media(max-width:740px){.pati-notification-row{gap:6px}.pati-notification-remove{width:40px;height:40px}.pati-notification-toolbar>button{flex:1}}

.pati-unread-menu{padding:13px;border-radius:13px;background:#edf7ef;margin-bottom:10px;display:grid;gap:9px}.pati-unread-menu>strong{color:#34373c;font-size:12px}.pati-unread-person{padding:12px;border:1px solid #ebecee;border-radius:10px;background:#fff;display:flex;justify-content:space-between;gap:8px;color:#34373c;font-weight:700;cursor:pointer}.pati-unread-person span{font-weight:600}.kb-action-plan{margin:22px 0 16px;padding:20px;border-radius:18px;border:1px solid #dce9dd;background:#f8fbf6}.kb-action-plan h3{margin:15px 0 9px!important}.kb-action-plan h3:first-child{margin-top:0!important}.kb-action-plan ol{padding-left:21px;display:grid;gap:12px}.kb-action-plan li{line-height:1.85;color:#34373c}.kb-action-plan p{line-height:1.9!important}

/* Patiyiz 24-hour stories */
.stories-section{background:#fff;border:1px solid #e5eee4;border-radius:18px;padding:15px;margin:0 0 18px;min-width:0}.stories-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.stories-heading strong{font-size:15px}.stories-heading small{font-size:11px;color:#a9aeb4}.stories-strip{display:flex;gap:15px;overflow-x:auto;padding:5px 2px 7px;scrollbar-width:thin}.story-person{display:flex;flex-direction:column;align-items:center;gap:6px;background:transparent;border:0;min-width:75px;max-width:86px;cursor:pointer;color:#34373c;font-weight:750}.story-person small{font-size:11px;max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-avatar{display:grid;place-items:center;width:68px;height:68px;border:3px solid #747a82;border-radius:50%;padding:3px;position:relative}.story-avatar .avatar{width:100%;height:100%;border-radius:50%;font-size:23px;display:grid;place-items:center;overflow:hidden}.story-avatar img{width:100%;height:100%;object-fit:cover}.story-create .story-avatar{border-color:#ebecee;background:#eaf7ed}.story-create .story-avatar::after{content:'+';position:absolute;bottom:-4px;right:-4px;background:#34373c;color:#fff;width:21px;height:21px;border-radius:50%;border:2px solid #fff;display:grid;place-items:center}.story-frame{min-width:0}.story-frame[hidden]{display:none!important}.story-frame-top{display:flex;justify-content:space-between;gap:10px;padding:0 2px 10px}.story-frame img{display:block;max-width:100%;width:100%;max-height:min(64vh,650px);object-fit:contain;background:#17191d;border-radius:12px}.story-frame p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.story-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.story-navigation button{min-width:0}.story-viewer{max-width:620px;margin:auto}@media(max-width:740px){.stories-section{padding:12px}.story-avatar{width:60px;height:60px}.story-person{min-width:68px}}

/* Story capture directly from phone camera or photo library */
.story-photo-options{display:flex;flex-wrap:wrap;gap:10px;margin:9px 0}.story-photo-choice{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:1 1 145px;text-align:center;min-height:49px;padding:12px 14px;border:1px solid #ebecee;border-radius:12px;background:#eef8f0;color:#34373c;font-weight:800;cursor:pointer;overflow:hidden}.story-photo-choice:focus-within{outline:3px solid #d9dce0}.story-photo-choice input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;font-size:16px}.story-photo-preview{padding:10px 12px;border-radius:10px;background:#f6f8f4;color:#747a82;font-size:12px;overflow-wrap:anywhere}

.story-fullscreen-open{overflow:hidden!important}.story-fullscreen{position:fixed;inset:0;z-index:99999;background:#080a09;display:flex;align-items:center;justify-content:center;color:#fff}.story-player{position:relative;width:min(100%,470px);height:100dvh;background:#111;overflow:hidden}.story-big-photo{width:100%;height:100%;object-fit:contain;background:#080a09}.story-progress{position:absolute;z-index:7;top:max(10px,env(safe-area-inset-top));left:10px;right:10px;display:flex;gap:4px}.story-track{height:3px;flex:1;background:#ffffff65;border-radius:5px;overflow:hidden}.story-track span{display:block;height:100%;background:white}.story-playing{animation:pati-story-fill 6s linear forwards}@keyframes pati-story-fill{to{width:100%}}.story-player-head{position:absolute;z-index:8;top:calc(max(10px,env(safe-area-inset-top)) + 14px);left:12px;right:12px;display:flex;align-items:center;gap:10px;text-shadow:0 1px 3px #000}.story-player-head>.avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center}.story-player-head .avatar img{width:100%;height:100%;object-fit:cover}.story-player-head strong{font-size:14px;flex:1}.story-close{border:0;background:#0005;color:white;width:40px;height:40px;border-radius:50%;font-size:27px}.story-caption{position:absolute;bottom:calc(48px + env(safe-area-inset-bottom));left:24px;right:24px;padding:14px;border-radius:12px;background:#000a;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere}.story-hit{position:absolute;z-index:5;top:105px;bottom:98px;width:32%;background:transparent;border:0}.story-hit.prev{left:0}.story-hit.next{right:0}.story-delete{position:absolute;z-index:8;right:16px;bottom:calc(10px + env(safe-area-inset-bottom));border:1px solid #fff6;border-radius:15px;color:white;background:#0009;padding:9px 14px}.story-own{position:relative}.story-own-photo{width:68px;height:68px;border-radius:50%;border:0;padding:0;background:#edf3ed;overflow:hidden;cursor:pointer}.story-own-photo.has-story{border:3px solid #747a82;padding:3px}.story-own-photo .avatar{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;overflow:hidden}.story-own-photo .avatar img{width:100%;height:100%;object-fit:cover}.story-own-plus{position:absolute;top:47px;right:5px;background:#34373c;color:white;border:2px solid white;width:25px;height:25px;border-radius:50%;font-size:18px;cursor:pointer}@media(min-width:750px){.story-player{height:min(94dvh,850px);border-radius:17px}}@media(max-width:749px){.story-player{width:100vw;height:100dvh}}

.story-viewers-button{position:absolute;z-index:9;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;background:#000b;border:1px solid #fff7;color:#fff;padding:10px 15px;border-radius:22px;font-weight:700}.story-viewers-sheet{position:absolute;z-index:15;bottom:0;left:0;right:0;max-height:70%;overflow-y:auto;min-height:170px;padding:20px 18px calc(25px + env(safe-area-inset-bottom));background:#fff;color:#17191d;border-radius:23px 23px 0 0;box-shadow:0 -5px 30px #0005}.story-viewers-sheet[hidden]{display:none}.story-viewers-sheet header{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:16px;padding-bottom:14px;border-bottom:1px solid #edf1ed}.story-viewers-sheet header button{font-size:24px;border:0;background:#edf3ee;border-radius:50%;width:35px;height:35px}.story-view-user{display:flex;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid #edf1ed}.story-view-user .avatar{width:43px;height:43px;border-radius:50%;overflow:hidden}.story-view-user .avatar img{width:100%;height:100%;object-fit:cover}.story-view-user>div{display:grid;gap:5px}.story-view-user small{font-size:12px;color:#747a82}

/* Wider editorial feed and stories */
@media(min-width:1100px){.app-shell{max-width:1650px;grid-template-columns:220px minmax(0,820px) 275px;gap:22px}.main{width:100%}}
@media(max-width:740px){.app-shell .main{width:100%;min-width:0}.stories-section{margin-left:-5px;margin-right:-5px;border-radius:15px}.stories-strip{gap:13px}.story-avatar,.story-own-photo{width:74px;height:74px}.story-person{min-width:79px;max-width:89px}.story-own-plus{top:52px;right:2px}.pati-photo{aspect-ratio:4/4.2;margin-left:-10px;margin-right:-10px;border-radius:4px}.pati-photo img{object-fit:cover}}
.pati-doubletap-photo{position:relative;cursor:pointer;touch-action:manipulation}.pati-heart-burst{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.35);opacity:0;font-size:clamp(85px,18vw,145px);color:#fff;text-shadow:0 5px 30px #0006;pointer-events:none;z-index:3}.pati-heart-burst.pop{animation:pati-heart-flash .85s ease-out forwards}@keyframes pati-heart-flash{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.18)}65%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.15)}}

/* Instagram-like edge-to-edge mobile home feed: no narrow centered cards */
@media(max-width:740px){
 #app-root>.app-shell{width:100%!important;max-width:none!important;display:block!important;margin:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
 #app-root>.app-shell>#main-content:has(.stories-section){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;min-width:0!important}
 #main-content:has(.stories-section)>.page-intro{padding:0 16px;margin:14px 0 17px}
 #main-content:has(.stories-section)>.stories-section{margin:0 0 12px!important;border:0!important;border-bottom:1px solid #e5ece5!important;border-radius:0!important;width:100%!important;padding:15px 12px 17px!important;box-shadow:none!important;box-sizing:border-box!important}
 #main-content:has(.stories-section) .stories-strip{gap:16px;padding:7px 4px 10px;scroll-padding-inline:5px}
 #main-content:has(.stories-section) .story-avatar,#main-content:has(.stories-section) .story-own-photo{width:79px!important;height:79px!important}
 #main-content:has(.stories-section) .story-person{min-width:85px!important;max-width:92px!important}
 #main-content:has(.stories-section) .story-own-plus{top:58px;right:1px}
 #main-content:has(.stories-section)>.hero-online,#main-content:has(.stories-section)>.toolbar,#main-content:has(.stories-section)>.pati-card:not(:has(.pati-doubletap-photo)){margin-left:12px!important;margin-right:12px!important}
 #main-content:has(.stories-section)>.pati-card:has(.pati-doubletap-photo),#main-content:has(.stories-section)>.pati-card:has(>.pati-actionbar){border-radius:0!important;border-left:0!important;border-right:0!important;padding:14px 0 10px!important;box-shadow:none!important;width:100%!important;margin-bottom:12px!important}
 #main-content:has(.stories-section)>.pati-card:has(.pati-doubletap-photo)>.pati-profile-row,#main-content:has(.stories-section)>.pati-card:has(.pati-doubletap-photo)>p,#main-content:has(.stories-section)>.pati-card:has(.pati-doubletap-photo)>.pati-actionbar{margin-left:15px!important;margin-right:15px!important}
 #main-content:has(.stories-section) .pati-doubletap-photo{width:100%!important;margin:10px 0 0!important}
 #main-content:has(.stories-section) .pati-doubletap-photo .pati-photo{width:100%!important;aspect-ratio:4/5!important;border-radius:0!important;margin:0!important}
 #main-content:has(.stories-section) .pati-doubletap-photo .pati-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
}

/* Free voice comments */
.voice-comments{margin:15px 0;padding:13px;border-radius:15px;border:1px solid #dce8de;background:#f9fcf8}.voice-comments h3{font-size:14px;margin:0 0 12px}.voice-comment-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e6eee7;padding:10px 0}.voice-comment-row>.avatar{flex:0 0 34px;width:34px;height:34px}.voice-comment-body{min-width:0;flex:1;display:grid;gap:5px}.voice-comment-body strong{font-size:12px}.voice-comment-body audio{width:100%;height:38px;max-width:360px}.voice-comment-body small{color:#a9aeb4;font-size:10px}.voice-comment-row>button{background:transparent;border:0;color:#a44747;font-size:12px;font-weight:700}.voice-record-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:center}.voice-record-controls>#voice-status{width:100%;font-size:11px;color:#747a82}.voice-record-controls audio{width:100%;height:40px}.voice-record-controls .primary-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:740px){.voice-comments{padding:10px}.voice-record-controls>button{flex:1;min-width:120px}}

/* Polished Instagram-like media composer */
.pati-upload-status:not([hidden]){display:flex;align-items:center;gap:10px;margin:12px 18px 4px;padding:12px 14px;background:#edf6ef;border-radius:13px;color:#34373c;font-size:12px;font-weight:800}.pati-upload-spinner{width:18px;height:18px;border:3px solid #ebecee;border-top-color:#34373c;border-radius:50%;animation:pati-upload-spin .8s linear infinite;flex:none}@keyframes pati-upload-spin{to{transform:rotate(360deg)}}.pati-upload-preview:not([hidden]){display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #dce8de;border-radius:14px;margin-top:9px;background:#fbfcf9;color:#34373c;font-size:12px;overflow:hidden}.pati-upload-preview img{width:84px;height:84px;object-fit:cover;border-radius:10px;background:#ebf2ea}.pati-upload-preview strong{overflow-wrap:anywhere;min-width:0}.modal-footer .primary-btn:disabled{opacity:.68;cursor:progress}.voice-record-controls{background:#f0f7f2;border-radius:14px;padding:12px}.voice-record-controls>#voice-status{font-weight:800;color:#34373c}.voice-comment-body audio{accent-color:#34373c}

.pati-delete-warning{padding:15px;background:#fff4f0;color:#923d32;border:1px solid #f2d1c8;border-radius:13px;margin-bottom:14px}.pati-delete-warning p{color:#82574e;font-size:12px;line-height:1.7}.pati-settings-list .pati-actionbar>a{display:inline-flex;padding:10px 12px;background:#eef6f0;border-radius:10px;color:#34373c;font-size:12px;font-weight:800}.pati-settings-list .pati-actionbar>.danger{color:#b33131!important}

/* Video post responsive sizing */
.pati-post-video{display:block;width:100%;max-height:76vh;object-fit:contain;border-radius:16px;background:#101918;margin:12px 0}.pati-video-input{display:block;width:100%;max-width:100%}

/* Patiyiz: Instagram-style split home feed, directly below stories */
.pati-feed-switch{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 10px;border-bottom:1px solid #e3eae2;background:var(--paper,#fff);border-radius:12px 12px 0 0;overflow:hidden}
.pati-feed-switch-btn{border:0;border-bottom:3px solid transparent;background:transparent;padding:16px 8px 13px;color:#a9aeb4;font:inherit;font-weight:750;font-size:13px;cursor:pointer}
.pati-feed-switch-btn.active{border-bottom-color:#34373c;color:#34373c}
.pati-feed-switch-btn:focus-visible{outline:2px solid #34373c;outline-offset:-3px}
.pati-feed-follow{display:flex;gap:8px;margin:0 0 14px;align-items:center}
.pati-feed-follow button{background:transparent;border:1px solid #dfe9df;border-radius:24px;color:#747a82;padding:7px 12px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.pati-feed-follow button.active{background:#e7f2e8;color:#34373c;border-color:#ebecee}
.pati-feed-posts>.pati-card{margin-bottom:12px}
@media(max-width:600px){.pati-feed-switch-btn{padding:15px 4px 12px;font-size:12px}.pati-feed-follow{padding:0 2px}}

/* Explore content discovery and compact header notifications */
.pati-header-notifications{display:none;position:relative;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border:1px solid #dfe9e1;border-radius:13px;background:#fff;color:#34373c;cursor:pointer}
.pati-header-notifications .icon{width:21px;height:21px}.pati-header-notifications .count-badge,.pati-header-notifications .nav-badge,.pati-header-notifications .badge{position:absolute;top:-5px;right:-5px}
.pati-header-notifications.active{background:#e9f4eb;border-color:#ebecee}
.pati-explore-head{margin:4px 0 18px}.pati-explore-head h1{font-size:29px;font-weight:850;letter-spacing:-1px;margin:0 0 4px}.pati-explore-head p{font-size:12px;color:#a9aeb4;margin:0}
.pati-explore-search{display:flex;align-items:center;background:#fff;border:1px solid #e0eae1;border-radius:15px;margin:0 0 16px;overflow:hidden;box-shadow:0 5px 20px #17191d10}
.pati-explore-search:focus-within{border-color:#d9dce0}.pati-explore-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:15px 14px;font:inherit;font-size:13px}
.pati-explore-search button{border:0;background:#e7f3e9;color:#34373c;font-size:23px;padding:9px 19px;cursor:pointer}
.pati-explore-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:1px 0 12px;margin-bottom:8px}.pati-explore-tabs button{border:1px solid #e0e9e0;background:#fff;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:750;color:#747a82;white-space:nowrap;cursor:pointer}
.pati-explore-tabs button.active{background:#34373c;color:#fff;border-color:#34373c}
.pati-explore-filter{display:flex;align-items:center;gap:10px;margin-bottom:18px}.pati-explore-animals{display:flex;gap:6px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none}.pati-explore-animals button{border:0;border-radius:10px;background:#f0f5ed;color:#747a82;font-size:11px;font-weight:700;padding:8px 12px;white-space:nowrap;cursor:pointer}.pati-explore-animals button.active{background:#deede0;color:#34373c}
.pati-explore-sort{flex:0 0 auto;border:1px solid #dbe8dc;border-radius:9px;padding:8px 9px;background:#fff;font-size:11px;color:#34373c;font-weight:750;cursor:pointer}
.pati-explore-section{margin:0 0 25px}.pati-explore-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 11px}.pati-explore-section-title h2{font-size:17px;margin:0;font-weight:850}.pati-explore-section-title span{font-size:11px;color:#a9aeb4}
.pati-explore-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border-radius:11px;overflow:hidden}
.pati-explore-media{position:relative;display:block;aspect-ratio:1/1;min-width:0;border:0;padding:0;overflow:hidden;background:linear-gradient(135deg,#d9eade,#edf3e8);cursor:pointer}
.pati-explore-media img,.pati-explore-media video{width:100%;height:100%;object-fit:cover;display:block}
.pati-explore-media img{transition:transform .23s}.pati-explore-media:hover img{transform:scale(1.04)}
.pati-explore-video-icon{position:absolute;right:10px;top:9px;border-radius:7px;padding:4px 7px;background:#17191db3;color:#fff;font-size:12px}
.pati-explore-tile-stats{position:absolute;left:0;right:0;bottom:0;padding:23px 5px 7px;background:linear-gradient(transparent,#17191da8);color:#fff;font-size:10px;font-weight:700;text-align:center}
.pati-explore-people,.pati-explore-pets{display:grid;gap:9px}.pati-explore-person,.pati-explore-pet{display:flex;align-items:center;gap:10px;padding:13px;background:#fff;border:1px solid #e5eee4;border-radius:15px}
.pati-explore-person-name{min-width:0;flex:1}.pati-explore-person-name strong,.pati-explore-pet strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pati-explore-person-name small,.pati-explore-pet small{display:block;color:#a9aeb4;font-size:10px;margin-top:3px}
.pati-explore-person-follow{border:0;border-radius:9px;background:#e2f1e5;color:#34373c;padding:9px;font-size:11px;font-weight:800;cursor:pointer}.pati-explore-person-profile{border:0;background:none;font-size:23px;color:#747a82;cursor:pointer}
.pati-explore-pet{width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer}.pati-explore-pet>span:nth-child(2){flex:1;min-width:0}.pati-explore-pet-picture{width:48px;height:48px;flex:0 0 48px;border-radius:12px;background:#eaf4e8;display:grid;place-items:center;font-size:24px;overflow:hidden}.pati-explore-pet-picture img{width:100%;height:100%;object-fit:cover}
@media(max-width:740px){.mobile-header .pati-header-notifications{display:flex}.pati-explore-gallery{gap:3px}.pati-explore-media{aspect-ratio:1}.pati-explore-tile-stats{font-size:9px}.pati-explore-head h1{font-size:25px}.pati-explore-section-title h2{font-size:15px}}

/* Patiyiz: full-width Instagram-style mobile header and full-screen menu */
@media(max-width:690px){
  #app-root>.mobile-header{
    display:flex!important;box-sizing:border-box;width:100%;max-width:none;
    margin:0;left:0;right:0;padding:12px 12px 10px 16px;
    align-items:center;justify-content:space-between;
  }
  #app-root>.mobile-header>.brand{width:auto;max-width:calc(100% - 65px);flex:0 1 auto;margin:0!important;min-width:0}
  #app-root>.mobile-header .pati-header-notifications{
    display:flex!important;flex:0 0 42px;margin-left:auto!important;margin-right:0!important;
    position:relative;right:0;justify-content:center;
  }
  #modal-root .modal-backdrop:has(#tools-form){
    position:fixed!important;inset:0!important;width:100vw!important;
    height:100dvh!important;max-height:100dvh!important;display:block!important;
    margin:0!important;padding:0!important;background:#fff!important;
    backdrop-filter:none!important;overflow:hidden!important;z-index:500!important;
  }
  #modal-root .modal-backdrop:has(#tools-form)>.modal{
    position:fixed!important;inset:0!important;box-sizing:border-box!important;
    display:flex!important;flex-direction:column!important;width:100vw!important;
    min-width:100vw!important;max-width:none!important;height:100dvh!important;
    max-height:100dvh!important;min-height:100dvh!important;margin:0!important;
    padding:0!important;border:0!important;border-radius:0!important;
    box-shadow:none!important;overflow:hidden!important;
  }
  #modal-root .modal-backdrop:has(#tools-form) .modal-header{
    flex:0 0 auto;position:sticky;top:0;z-index:2;background:#fff;
    min-height:64px;box-sizing:border-box;padding:14px 20px;
  }
  #modal-root .modal-backdrop:has(#tools-form) #tools-form{
    display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;
  }
  #modal-root .modal-backdrop:has(#tools-form) .modal-content{
    flex:1;min-height:0;box-sizing:border-box;max-height:none!important;
    overflow-y:auto!important;overscroll-behavior:contain;
    padding:18px 16px max(36px,env(safe-area-inset-bottom));
  }
  #modal-root .modal-backdrop:has(#tools-form) .pati-mobile-menu-list{
    grid-template-columns:1fr 1fr;align-content:start;
  }
  #modal-root .modal-backdrop:has(#tools-form) .pati-mobile-menu-item{
    min-height:66px;
  }
}

/* Instagram-inspired full width discovery and messages on phones. Patiyiz original behaviors retained. */
.pati-dm-top{display:flex;align-items:center;justify-content:space-between;padding:15px 18px 12px;background:#fff;color:#1a211b}
.pati-dm-top strong{font-size:20px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pati-dm-top span{font-size:11px;color:#747a82;flex:0 0 auto}
.pati-dm-filters{display:flex;gap:9px;padding:10px 16px 14px;overflow-x:auto;scrollbar-width:none;background:#fff}
.pati-dm-filters button{border-radius:30px;border:1px solid #e7eae7;background:#fff;color:#17191d;padding:10px 18px;font:inherit;font-size:13px;font-weight:750;white-space:nowrap;cursor:pointer}
.pati-dm-filters button.active{background:#eff1f3;border-color:#eff1f3;color:#101510}
.pati-dm-layout{background:#fff}
.pati-dm-layout .chat-people{background:#fff}
.pati-dm-layout .chat-person{background:#fff}
.pati-dm-layout .chat-person-info strong{font-weight:650}
.pati-dm-layout .chat-person-info small{font-weight:450}
@media(max-width:690px){
 body:has(.pati-explore-gallery),body:has(.pati-dm-layout){background:#fff}
 #app-root>.app-shell:has(.pati-explore-gallery),#app-root>.app-shell:has(.pati-dm-layout){max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
 #app-root>.app-shell:has(.pati-explore-gallery)>.main,#app-root>.app-shell:has(.pati-dm-layout)>.main{padding:0!important;width:100%!important;max-width:none!important;margin:0!important}
 .pati-explore-head{display:none}
 .pati-explore-search{margin:8px 12px 10px!important;border:0!important;border-radius:28px!important;background:#edf0f3!important;box-shadow:none!important}
 .pati-explore-search input{font-size:16px!important}
 .pati-explore-tabs,.pati-explore-filter{margin-left:12px;margin-right:12px}
 .pati-explore-section{margin:0 0 14px!important}
 .pati-explore-section-title{padding:0 12px}
 .pati-explore-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2px!important;border-radius:0!important;width:100%!important}
 .pati-explore-media{aspect-ratio:1/1.35!important;border-radius:0!important;min-width:0}
 .pati-explore-media img,.pati-explore-media video{width:100%!important;height:100%!important;object-fit:cover!important}
 .pati-explore-tile-stats{padding:22px 4px 6px;font-size:10px}
 .pati-explore-people,.pati-explore-pets{margin:0 12px}
 .pati-dm-top{padding:15px 18px 12px}
 .pati-dm-layout{width:100%!important;border:0!important;border-radius:0!important;margin:0!important;max-width:none!important;box-shadow:none!important}
 .pati-dm-layout.mobile-chat-list .chat-people{padding:0!important;border:0!important;border-radius:0!important;width:100%!important;max-width:none!important}
 .pati-dm-layout .chat-list-heading{padding:12px 18px!important;border-bottom:0!important;background:#fff;font-size:13px}
 .pati-dm-layout .chat-person{min-height:88px!important;padding:10px 16px!important;border:0!important;gap:13px!important;align-items:center!important}
 .pati-dm-layout .chat-person .avatar,.pati-dm-layout .chat-person .avatar.s{width:65px!important;height:65px!important;min-width:65px!important;flex:0 0 65px!important;border-radius:50%!important;overflow:hidden}
 .pati-dm-layout .chat-person-info strong{font-size:15px!important;color:#141914}
 .pati-dm-layout .chat-person-info small{font-size:13px!important;color:#858b87!important;max-width:calc(100vw - 140px)}
 .pati-dm-layout .chat-person-meta small{font-size:11px}
 .pati-dm-layout.mobile-chat-open .chat-window{height:calc(100dvh - 170px)!important;border:0!important;border-radius:0!important}
 .pati-dm-layout.mobile-chat-open .chat-people{display:none!important}
 .pati-dm-layout.mobile-chat-list .chat-window{display:none!important}
}

/* Patiyiz full-width profile, inspired by user-provided Instagram mobile proportions */
.pati-ig-profile{background:#fff;color:#171b18;min-width:0;padding-bottom:30px}
.pati-ig-profile-top{min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:10px 15px;gap:14px}
.pati-ig-profile-top strong{font-size:18px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pati-ig-profile-top button{background:transparent;border:0;color:#172019;font-size:26px;cursor:pointer}
.pati-ig-summary{display:flex;align-items:center;gap:22px;padding:12px 17px 6px}
.pati-ig-avatar{flex:0 0 100px}.pati-ig-avatar .avatar,.pati-ig-avatar .avatar.l{display:grid;place-items:center;width:100px;height:100px;border-radius:50%;font-size:34px;border:3px solid #edf0ed;overflow:hidden}
.pati-ig-avatar .avatar img{width:100%;height:100%;object-fit:cover}
.pati-ig-info{flex:1;min-width:0}.pati-ig-name{font-size:14px;font-weight:800;display:block;margin-bottom:13px;line-height:1.3}
.pati-ig-stats{display:flex;justify-content:space-between;gap:12px}
.pati-ig-stats span,.pati-ig-stats button{background:transparent;border:0;display:flex;flex-direction:column;text-align:center;padding:0;min-width:0;color:inherit;font:inherit}
.pati-ig-stats button{cursor:pointer}.pati-ig-stats b{font-size:18px;font-weight:850;line-height:1.25}.pati-ig-stats small{font-size:11px;line-height:1.4;white-space:normal}
.pati-ig-bio{padding:7px 18px 12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.pati-ig-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px 15px 19px}
.pati-ig-actions button{width:100%;min-width:0;min-height:40px;padding:8px 5px!important;border-radius:11px!important;font-size:11px!important;font-weight:800;line-height:1.2;white-space:normal}
.pati-ig-highlights{display:flex;align-items:start;gap:18px;padding:6px 16px 18px;overflow-x:auto;scrollbar-width:none}
.pati-ig-highlight{flex:0 0 76px;width:76px;border:0;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer;font:inherit;color:inherit}
.pati-ig-highlight-ring{width:75px;height:75px;border:2px solid #e0e4e1;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-size:34px;font-weight:300;padding:4px;box-sizing:border-box}
.pati-ig-highlight-ring img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.pati-ig-highlight small{font-size:11px;max-width:75px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pati-ig-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e6e9e7}
.pati-ig-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;min-height:50px;font-size:27px;color:#89938c;cursor:pointer}
.pati-ig-tabs button.active{color:#1b261f;border-bottom-color:#1b261f}
.pati-ig-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;width:100%}
.pati-profile-tile{aspect-ratio:1/1.1;width:100%;min-width:0;background:#eff3ed;border:0;padding:0;position:relative;overflow:hidden;cursor:pointer}
.pati-profile-tile img,.pati-profile-tile video{width:100%;height:100%;object-fit:cover;display:block}
.pati-profile-play{position:absolute;right:8px;top:8px;color:#fff;font-size:14px;text-shadow:0 1px 6px #0009}
.pati-profile-text-tile{padding:10px;display:grid;place-items:center;text-align:left;font-size:11px;overflow-wrap:anywhere;line-height:1.35}
.pati-ig-empty{grid-column:1/-1;text-align:center;padding:24px;color:#839083;font-size:12px}
.pati-ig-more{padding:15px;display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:690px){
 body:has(.pati-ig-profile){background:#fff}
 #app-root>.app-shell:has(.pati-ig-profile){max-width:none!important;width:100%!important;padding:0 0 105px!important;box-sizing:border-box}
 #app-root>.app-shell:has(.pati-ig-profile)>.main{max-width:none!important;margin:0!important;width:100%!important;padding:0!important}
 .pati-ig-profile-top{padding:11px 15px;min-height:54px}
 .pati-ig-summary{gap:16px;padding:8px 15px}
 .pati-ig-avatar{flex:0 0 89px}
 .pati-ig-avatar .avatar,.pati-ig-avatar .avatar.l{width:89px!important;height:89px!important;border-radius:50%!important}
 .pati-ig-name{font-size:13px;margin-bottom:9px}
 .pati-ig-stats{gap:6px}
 .pati-ig-stats b{font-size:17px}
 .pati-ig-stats small{font-size:10px}
 .pati-ig-highlights{gap:15px}
 .pati-ig-grid{gap:2px!important}
}
@media(max-width:360px){.pati-ig-avatar{flex-basis:75px}.pati-ig-avatar .avatar,.pati-ig-avatar .avatar.l{width:75px!important;height:75px!important}.pati-ig-summary{gap:10px}.pati-ig-stats b{font-size:15px}.pati-ig-stats small{font-size:9px}}

/* Mobile profile: bottom avatar tab, clean full-bleed layout, safe sizing */
#app-root>.mobile-bottom .pati-profile-nav .avatar{display:grid;place-items:center;width:27px;height:27px;min-width:27px;border-radius:50%;overflow:hidden;border:2px solid transparent;box-sizing:border-box}
#app-root>.mobile-bottom .pati-profile-nav .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#app-root>.mobile-bottom .pati-profile-nav.active .avatar{border-color:#34373c}
.pati-ig-profile,.pati-ig-profile *{box-sizing:border-box}
.pati-ig-profile{width:100%;max-width:100%;overflow-x:hidden}
.pati-ig-profile-top{min-width:0;width:100%;padding-top:max(13px,env(safe-area-inset-top,0px));position:relative;z-index:1}
.pati-ig-profile-top strong{min-width:0;max-width:calc(100% - 58px);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pati-ig-summary,.pati-ig-info,.pati-ig-stats{min-width:0}
.pati-ig-stats{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.pati-ig-stats span,.pati-ig-stats button{min-width:0;overflow-wrap:anywhere}
.pati-ig-actions{min-width:0}
.pati-ig-highlights{width:100%;max-width:100%}
.pati-ig-grid{width:100%;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:690px){
 #app-root>.app-shell:has(.pati-ig-profile)>.main{overflow:visible!important}
 .pati-ig-profile{margin:0!important;padding:0 0 calc(100px + env(safe-area-inset-bottom,0px))!important}
 .pati-ig-profile-top{padding:15px 15px 12px;min-height:61px;align-items:center}
 .pati-ig-summary{display:grid;grid-template-columns:minmax(75px,89px) minmax(0,1fr);gap:12px;padding:11px 15px 7px;width:100%}
 .pati-ig-avatar{width:100%;min-width:0;flex:auto}
 .pati-ig-avatar .avatar,.pati-ig-avatar .avatar.l{width:min(100%,89px)!important;height:auto!important;aspect-ratio:1/1;max-width:89px!important}
 .pati-ig-info{width:100%;min-width:0}
 .pati-ig-stats{gap:3px}
 .pati-ig-stats b{font-size:clamp(14px,4vw,18px)}
 .pati-ig-stats small{font-size:clamp(9px,2.8vw,11px)}
 .pati-ig-actions{padding:10px 13px 18px;gap:6px}
 .pati-ig-actions button{font-size:clamp(10px,2.8vw,12px)!important}
}

/* Patiyiz final phone layout and feed playback */
.pati-video-frame{position:relative;width:100%;overflow:hidden;background:#111}
.pati-video-frame .pati-post-video{display:block;width:100%;height:auto;max-height:72dvh;object-fit:contain;cursor:pointer;background:#111}
.pati-video-sound{position:absolute;right:10px;bottom:13px;z-index:3;border:0;border-radius:50%;background:#0009;color:#fff;width:34px;height:34px;display:grid;place-items:center;font-size:15px;cursor:pointer}
@media(max-width:740px){
 #app-root>.mobile-header{position:sticky!important;top:0!important;z-index:75!important;padding-top:max(22px,env(safe-area-inset-top,0px))!important;padding-bottom:14px!important;min-height:73px!important;align-items:center!important}
 #app-root>.mobile-header .pati-header-notifications{margin-right:0!important;flex-shrink:0!important;transform:translateY(3px)}
 #app-root>.app-shell:has(.pati-ig-profile){padding-top:0!important}
 .pati-ig-profile{overflow:visible!important}
 .pati-ig-profile-top{padding-top:18px!important;padding-bottom:16px!important;min-height:70px!important;scroll-margin-top:90px}
 .pati-ig-profile-top>button{min-width:45px;min-height:45px;border-radius:12px;background:#f3f5f3}
 .pati-ig-profile-top strong{font-size:clamp(16px,4.5vw,21px)}
 #app-root>.app-shell:has(.pati-dm-layout)>.main{min-height:0}
 #main-content:has(.pati-dm-layout.mobile-chat-open){height:calc(100dvh - 145px - env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;overflow:hidden}
 #main-content:has(.pati-dm-layout.mobile-chat-open)>.pati-dm-top,
 #main-content:has(.pati-dm-layout.mobile-chat-open)>.pati-dm-filters{display:none}
 .pati-dm-layout.mobile-chat-open{flex:1!important;min-height:0!important;display:flex!important;flex-direction:column!important}
 .pati-dm-layout.mobile-chat-open .chat-window{flex:1!important;display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
 .pati-dm-layout.mobile-chat-open .chat-history{flex:1!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}
 .pati-dm-layout.mobile-chat-open .chat-form{flex:0 0 auto;position:sticky;bottom:0;padding-bottom:max(10px,env(safe-area-inset-bottom,0px))!important;background:#fff}
}

/* Profile username below verification/name, compact video sound button and publishing presets */
.pati-ig-handle{display:block;margin:2px 0 12px;color:#7b897f;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pati-ig-summary{padding-top:16px}
.pati-ig-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.pati-video-frame{aspect-ratio:4/5;max-height:78dvh;background:#111}
.pati-video-frame .pati-post-video{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;display:block}
.pati-video-sound{right:13px!important;bottom:13px!important;width:39px!important;height:39px!important;border:1px solid #ffffff4a!important;border-radius:50%!important;background:rgba(14,18,17,.72)!important;backdrop-filter:blur(9px);color:#fff;box-shadow:0 3px 12px #0004;display:grid;place-items:center}
.pati-video-sound .icon{width:20px;height:20px;stroke-width:2.2}
.pati-media-controls{display:grid;gap:7px;margin-top:14px;padding:13px;border:1px solid #dce7de;border-radius:12px;background:#f8fbf8}
.pati-media-controls label{font-size:13px;font-weight:800}
.pati-media-controls select{width:100%;padding:11px;border:1px solid #d7e1d9;border-radius:10px;background:#fff;font-size:14px}
.pati-media-controls small{font-size:11px;color:#747a82;line-height:1.4}
@media(max-width:690px){.pati-ig-summary{padding-top:17px!important}.pati-ig-handle{font-size:11px;margin-bottom:11px}.pati-video-frame{width:100%;max-height:80dvh}}

/* Profile top must start below the sticky mobile brand bar. */
@media(max-width:740px){
 #app-root>.mobile-header{position:sticky!important;top:0!important;z-index:76!important;flex-shrink:0}
 #app-root>.app-shell:has(.pati-ig-profile){padding-top:0!important;margin-top:0!important;transform:none!important}
 #app-root>.app-shell:has(.pati-ig-profile)>#main-content{padding:0!important;margin-top:0!important;position:relative!important;top:auto!important;transform:none!important;min-height:0!important}
 #main-content>.pati-ig-profile{padding-top:18px!important;margin-top:0!important;position:relative!important;top:0!important;min-height:0!important}
 .pati-ig-summary{padding-top:12px!important}
 .stories-section .story-own{position:relative;overflow:visible}
 .stories-section .story-own-plus{position:absolute!important;top:49px!important;right:16px!important;width:25px!important;height:25px!important;line-height:20px!important;display:grid!important;place-items:center!important;padding:0!important;transform:none!important;z-index:4!important}
 #main-content:has(.stories-section) .story-own-plus{top:53px!important;right:17px!important}
}
.pati-story-like{position:absolute;bottom:calc(14px + env(safe-area-inset-bottom));right:18px;z-index:12;width:48px;height:48px;display:grid;place-items:center;background:#0008;border:1px solid #ffffff80;color:#fff;border-radius:50%;font-size:32px;line-height:1;cursor:pointer}
.pati-story-like.active{color:#ff335d;background:#fff}
.pati-story-like:disabled{opacity:.5}
.story-view-user .pati-story-view-like{margin-left:auto;color:#fff;background:#ff315f;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:16px;flex:0 0 26px}

/* Profile layout repair: keep brand header in normal flow, never overlay profile. */
@media(max-width:740px){
 #app-root:not(.hidden):has(.pati-ig-profile)>.mobile-header{
   position:relative!important;top:auto!important;bottom:auto!important;
   left:auto!important;right:auto!important;width:100%!important;
   min-height:76px!important;height:auto!important;
   padding:18px 15px 13px!important;z-index:10!important;
   transform:none!important;box-sizing:border-box!important;
 }
 #app-root:not(.hidden)>.app-shell:has(.pati-ig-profile){
   display:block!important;position:relative!important;
   padding:0 0 calc(90px + env(safe-area-inset-bottom,0px))!important;
   margin:0!important;min-height:0!important;
   width:100%!important;max-width:100%!important;
 }
 #app-root:not(.hidden)>.app-shell:has(.pati-ig-profile)>#main-content{
   display:block!important;position:static!important;top:auto!important;
   min-height:0!important;max-width:none!important;
   width:100%!important;overflow:visible!important;
   padding:0!important;margin:0!important;
 }
 #app-root:not(.hidden) #main-content>.pati-ig-profile{
   position:static!important;transform:none!important;
   display:block!important;box-sizing:border-box!important;
   width:100%!important;max-width:100%!important;
   padding:16px 0 32px!important;margin:0!important;
   overflow-x:clip!important;
 }
 #app-root:not(.hidden) .pati-ig-summary{
   display:grid!important;grid-template-columns:minmax(78px,92px) minmax(0,1fr)!important;
   gap:12px!important;padding:8px 15px 12px!important;
   min-width:0!important;align-items:center!important;
 }
 #app-root:not(.hidden) .pati-ig-avatar .avatar,
 #app-root:not(.hidden) .pati-ig-avatar .avatar.l{
   width:clamp(76px,22vw,92px)!important;height:clamp(76px,22vw,92px)!important;
   max-width:100%!important;aspect-ratio:1!important;
 }
 #app-root:not(.hidden) .pati-ig-info{min-width:0!important;max-width:100%!important}
 #app-root:not(.hidden) .pati-ig-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important}
 #app-root:not(.hidden) .pati-ig-actions{width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #app-root:not(.hidden) .pati-ig-grid{width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

.pati-social-actions{display:flex!important;align-items:center;gap:10px!important;flex-wrap:nowrap!important;justify-content:space-between}
.pati-social-actions button{display:inline-flex;align-items:center;gap:5px;color:#202b23!important;flex:0 0 auto;padding:9px 5px!important;border:0;background:transparent;cursor:pointer}
.pati-social-actions button .icon{width:24px;height:24px;stroke-width:1.9}
.pati-social-actions button.active{color:#e53956!important}
.pati-social-actions .pati-save-action{margin-left:auto}
.pati-share-list{display:grid;gap:5px;max-height:65dvh;overflow:auto}
.pati-share-list button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:0;border-bottom:1px solid #ebf0eb;padding:12px;font:inherit;cursor:pointer}
.pati-share-list button span{flex:1;font-size:13px;font-weight:700}
.pati-share-list button .icon{width:20px;height:20px}
.pati-dm-camera,.pati-dm-gallery,.pati-dm-mic{width:37px;height:37px;flex:0 0 37px;border:0;border-radius:50%;display:grid;place-items:center;background:#e7f4e9;color:#34373c;cursor:pointer;padding:0}
.pati-dm-camera .icon,.pati-dm-gallery .icon,.pati-dm-mic .icon{width:20px;height:20px}
.pati-dm-mic{background:#34373c;color:#fff}
.pati-dm-rec-state:not([hidden]){position:absolute;left:8px;right:8px;bottom:100%;padding:12px;border:1px solid #d7e3da;background:white;border-radius:13px;display:flex;justify-content:space-between;align-items:center;gap:9px;box-shadow:0 2px 12px #0002;font-size:12px}
.pati-dm-rec-state button{padding:7px;border-radius:8px;background:#e8f1e9;border:0;color:#34373c}
.pati-dm-layout .chat-form{position:relative;align-items:center;gap:5px}
.pati-dm-layout .chat-form input[name="body"]{min-width:0;flex:1;font-size:14px}
.pati-dm-layout .chat-form .primary-btn{display:grid;place-items:center;min-width:36px;width:36px;padding:8px}
.pati-dm-layout .chat-form .primary-btn .icon{width:19px;height:19px}
.pati-dm-image{display:block;max-width:min(260px,65vw);max-height:300px;width:auto;height:auto;object-fit:contain;border-radius:10px}
.pati-dm-audio{display:block;width:min(245px,63vw);height:42px}
@media(max-width:690px){.pati-social-actions{gap:5px!important;padding:8px 2px}.pati-social-actions button .icon{width:23px;height:23px}.pati-dm-camera,.pati-dm-gallery,.pati-dm-mic{width:33px;height:33px;flex-basis:33px}.pati-dm-layout .chat-form{padding:10px 8px!important}}

.brand-icon:has(.patiyiz-chosen-logo){background:transparent!important;box-shadow:none!important;overflow:hidden!important;border-radius:13px!important;padding:0!important}
.brand-icon .patiyiz-chosen-logo{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:inherit!important}
.auth-matching-logo:has(.patiyiz-chosen-logo){background:transparent!important;border:0!important;padding:0!important}
.auth-matching-logo .patiyiz-chosen-logo{width:100%!important;height:100%!important}

/* Patiyiz black visual identity: neutral base and accessible actions */
:root{--bg:#f7f7f8;--paper:#fff;--ink:#17181b;--ink-soft:#44464b;--muted:#81848b;--border:#e7e7ea;--green:#141518;--green-dark:#08090b;--mint:#ebebed;--mint-light:#f5f5f6;--shadow:0 12px 40px rgba(0,0,0,.05)}
body{background:var(--bg);color:var(--ink)}
.primary-btn,.nav-create,#app-root>.mobile-fab,.pati-dm-mic{background:#151619!important;color:#fff!important}
.primary-btn:hover,.nav-create:hover{background:#303238!important}
.nav-link.active,.mobile-nav-btn.active,.pati-feed-switch-btn.active{color:#111215!important}
.nav-link.active{background:#eeeeef!important}
.nav-link.active:before{background:#17181b!important}
.pati-feed-switch-btn.active{border-bottom-color:#17181b!important}
.pati-dm-camera,.pati-dm-gallery{background:#eeeeef!important;color:#24262a!important}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#55585f!important}
.pati-social-actions button.active{color:#e53956!important}

/* Monochrome Patiyiz — profile actions and activity feed */
.pati-ig-profile .pati-ig-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 15px 16px;width:100%}
.pati-ig-profile .pati-ig-actions>button,.pati-ig-profile .pati-ig-actions>.soft-btn,.pati-ig-profile .pati-ig-actions>.primary-btn{
 background:#111215!important;color:#fff!important;border:1px solid #111215!important;box-shadow:none!important;text-align:center!important;border-radius:11px!important;min-width:0!important;min-height:42px!important;padding:10px 5px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:750!important;font-size:clamp(10px,2.8vw,12px)!important;line-height:1.3!important;white-space:normal!important
}
.pati-ig-profile .pati-ig-actions>button:hover{background:#303238!important;border-color:#303238!important}
.pati-ig-profile .pati-ig-actions>button:focus-visible{outline:2px solid #575a60!important;outline-offset:2px}
.pati-feed-follow button.active,.pati-dm-filters button.active,.pati-ig-tabs button.active{color:#151619!important;border-color:#151619!important;background:#eeeeef!important}
.pati-header-notifications.active,.mobile-nav-btn.active{color:#151619!important}
.pati-verified{background:#151619!important;color:#fff!important}
.pati-alerts{width:100%;max-width:100%;color:#18191d;padding-bottom:30px}
.pati-alert-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 20px}
.pati-alert-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:1.35px;color:#84868e}
.pati-alert-head h1{display:flex;align-items:center;gap:10px;font-weight:850;font-size:clamp(24px,5vw,32px);letter-spacing:-1.3px;margin:4px 0 5px;color:#111215}
.pati-alert-head p{font-size:12px;line-height:1.6;color:#868991;margin:0}
.pati-alert-count{display:grid;place-items:center;background:#151619;color:#fff;min-width:24px;height:24px;padding:0 7px;border-radius:100px;font-size:12px;letter-spacing:0}
.pati-alert-head-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;background:#f1f1f3;border:1px solid #e6e6e9;border-radius:16px}
.pati-alert-head-icon .icon{width:24px;height:24px}
.pati-alert-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.pati-alert-tools button{border:1px solid #dedee2;background:#fff;color:#25262a;border-radius:10px;font-weight:750;padding:10px 13px;display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:40px;font-size:11px}
.pati-alert-tools button .icon{width:16px;height:16px}
.pati-alert-tools button:disabled{opacity:.4;cursor:not-allowed}
.pati-alert-tools button:not(:disabled):hover{background:#f1f1f2}
.pati-alert-push{display:flex;align-items:center;gap:12px;background:#16171b;color:white;padding:16px;border-radius:17px;margin-bottom:23px}
.pati-alert-push-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #4b4c51;border-radius:11px}
.pati-alert-push-icon .icon{width:20px;height:20px}
.pati-alert-push>div{min-width:0;flex:1}
.pati-alert-push strong{display:block;font-size:13px;color:#fff}
.pati-alert-push p{font-size:10px;color:#c9cad0;margin:4px 0 0;line-height:1.5}
.pati-alert-push>button{border:1px solid #fff;border-radius:9px;background:#fff;color:#141518;padding:9px 12px;font-size:11px;font-weight:800;white-space:nowrap}
.pati-alert-group{margin-top:19px}
.pati-alert-group-head{display:flex;align-items:center;gap:10px;margin:0 0 9px;padding:0 2px}
.pati-alert-group-head h2{font-size:14px;font-weight:850;letter-spacing:-.2px;color:#16171b;margin:0}
.pati-alert-group-head>span{background:#ededf0;color:#474950;border-radius:20px;padding:2px 8px;font-size:10px;font-weight:800}
.pati-alert-list{border:1px solid #e9e9ed;border-radius:16px;background:#fff;overflow:hidden}
.pati-alert-row{display:flex;align-items:center;gap:1px;border-bottom:1px solid #eeeef0;min-width:0}
.pati-alert-row:last-child{border-bottom:0}
.pati-alert-row.is-new{background:#f7f7f9}
.pati-alert-entry{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:14px 9px 14px 14px;border:0;background:transparent;text-align:left;cursor:pointer;color:#25262a}
.pati-alert-entry:hover{background:#eeeeef}
.pati-alert-avatar{flex:0 0 41px;width:41px;height:41px;border-radius:50%;background:#e9e9eb;display:grid;place-items:center;overflow:hidden;color:#27282c}
.pati-alert-avatar .avatar{width:41px!important;height:41px!important;border-radius:50%!important}
.pati-alert-avatar .icon{width:20px;height:20px}
.pati-alert-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.pati-alert-title{font-size:12px;line-height:1.5;color:#26272a;font-weight:720}
.is-read .pati-alert-title{color:#676a70;font-weight:570}
.pati-alert-meta{color:#91949b;font-size:10px;font-weight:550}
.pati-alert-unread{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#151619}
.pati-alert-remove{width:38px;height:38px;flex:0 0 38px;margin-right:8px;border:0;border-radius:10px;background:transparent;color:#9c9da4;display:grid;place-items:center}
.pati-alert-remove:hover{background:#f1f1f3;color:#16171b}
.pati-alert-remove .icon{width:16px;height:16px}
.pati-alert-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:50px 20px;background:#fff;border:1px solid #ebebef;border-radius:17px}
.pati-alert-empty .icon{width:30px;height:30px;color:#6a6c72}
.pati-alert-empty strong{font-size:14px}
.pati-alert-empty p{font-size:12px;color:#8d9096;margin:0}
@media(max-width:690px){.pati-alerts{padding:14px 12px 95px}.pati-alert-head{margin-bottom:16px}.pati-alert-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pati-alert-tools button{padding:9px 6px;font-size:10px}.pati-alert-push{gap:9px;padding:12px}.pati-alert-push>button{padding:9px 8px}.pati-alert-entry{gap:10px;padding:12px 6px 12px 11px}.pati-alert-remove{margin-right:5px;width:34px;flex-basis:34px}.pati-ig-profile .pati-ig-actions{padding-left:14px;padding-right:14px}}

/* Mobile composition, touch crop and social comments */
#post-form .pati-media-controls{background:#f6f6f7;border:1px solid #e6e7e9;border-radius:16px;padding:12px}
.pati-ratio-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pati-ratio-options button{min-width:0;min-height:52px;border:1px solid #dadbe0;border-radius:13px;background:#fff;color:#35363c;font-size:12px;font-weight:750}
.pati-ratio-options button.active{background:#17181b;color:white;border-color:#17181b}
.pati-crop-preview:not([hidden]){display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 0}
#pati-crop-canvas{display:block;max-width:100%;max-height:45dvh;object-fit:contain;background:#111;touch-action:none;cursor:grab;border-radius:8px}
.pati-crop-preview p{font-size:11px;color:#737780;text-align:center}
.pati-crop-preview label{display:flex;align-items:center;gap:10px;width:100%;font-size:12px}
.pati-crop-preview input[type=range]{flex:1;accent-color:#151619}
#post-form textarea[name="body"]{min-height:90px;resize:vertical;background:#fff;border:0;font-size:16px;padding:14px 4px}
#post-form .modal-footer .primary-btn{background:#1718ff!important;color:white!important;border-radius:14px!important;font-size:16px!important}
#post-form .modal-footer .primary-btn::after{content:'Paylaş';font-weight:750}
#post-form .modal-footer .primary-btn{font-size:0!important}
#post-form .modal-footer .primary-btn::after{font-size:16px}
.pati-dm-layout .chat-form input[name="body"],.pati-dm-layout .chat-form textarea{font-size:16px!important}
.pati-dm-mic{background:#f0f0f2!important;color:#151619!important;border:1px solid #d9d9de!important}
.pati-dm-mic svg.icon{display:block!important;width:21px!important;height:21px!important;stroke:#101114!important;stroke-width:2.4!important}
.pati-dm-camera svg.icon,.pati-dm-gallery svg.icon{display:block!important;stroke:#18191c!important}
.pati-video-sound{background:rgba(255,255,255,.95)!important;color:#141517!important;border:1px solid rgba(0,0,0,.15)!important;box-shadow:0 3px 14px #0003!important}
.pati-video-sound .icon{display:block!important;stroke:#141517!important;stroke-width:2.5!important;width:21px!important;height:21px!important}
.story-highlight-toggle{position:absolute;bottom:66px;left:14px;z-index:12;background:#fff;color:#141518;border:0;border-radius:22px;padding:9px 14px;font-weight:800;cursor:pointer}
#modal-root .modal-backdrop:has(#comment-form){align-items:flex-end!important;padding:0!important}
#modal-root .modal-backdrop:has(#comment-form) .modal{margin:0!important;width:100%!important;max-width:650px!important;max-height:min(90dvh,850px)!important;border-radius:24px 24px 0 0!important;overflow:hidden!important;background:#fff!important}
#modal-root .modal-backdrop:has(#comment-form) .modal-header{text-align:center;justify-content:center;position:relative;border-bottom:1px solid #e9e9ed;padding:21px 18px 15px}
#modal-root .modal-backdrop:has(#comment-form) .modal-header h2{margin:0 auto;font-size:17px;color:#151619}
#modal-root .modal-backdrop:has(#comment-form) .close-modal{position:absolute;right:13px;top:14px}
#modal-root .modal-backdrop:has(#comment-form) .modal-content{overflow-y:auto;max-height:calc(85dvh - 180px)}
#comment-form .comment-list{max-height:44dvh;overflow-y:auto;padding:8px 1px}
#comment-form .comment-item{position:relative;padding:14px 44px 12px 3px;border-bottom:1px solid #f3f3f5}
#comment-form .comment-author{font-size:12px}
#comment-form .comment-item p{font-size:13px;line-height:1.55;margin:5px 0 7px 44px;color:#24252a}
#comment-form .comment-actions{display:flex;gap:14px;margin-left:43px}
#comment-form .comment-actions button{border:0;background:transparent;color:#81838c;font-size:11px;padding:4px;cursor:pointer}
#comment-form .comment-actions button.active{color:#e23455}
#comment-form .comment-actions button:first-child{color:#18191c}
.pati-comment-quick{display:flex;align-items:center;justify-content:space-around;gap:3px;padding:11px 0;border-bottom:1px solid #eeeef1}
.pati-comment-quick button{border:0;background:transparent;font-size:21px;padding:5px;cursor:pointer}
#comment-form textarea[name="body"]{width:100%;min-height:44px;max-height:80px;border-radius:30px;padding:12px 15px;font-size:16px!important;resize:none}
#comment-form .modal-footer{position:sticky;bottom:0;background:#fff;padding-bottom:max(12px,env(safe-area-inset-bottom));border-top:1px solid #f1f1f3}
#comment-form .modal-footer .primary-btn{background:#17181b!important;color:#fff!important}
@media(max-width:690px){#modal-root .modal-backdrop:has(#post-form) .modal{max-height:94dvh!important}#modal-root .modal-backdrop:has(#post-form) .modal-content{overflow:auto!important}#post-form .modal-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}#comment-form .voice-comments{padding-top:9px}}

/* Mobile swipable multi-image posts */
.pati-carousel{position:relative;width:100%;overflow:hidden;background:#101012}
.pati-carousel-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.pati-carousel-track::-webkit-scrollbar{display:none}
.pati-carousel-slide{flex:0 0 100%;width:100%;scroll-snap-align:start;position:relative}
.pati-carousel-slide .pati-photo{width:100%!important;aspect-ratio:4/5!important;margin:0!important;border-radius:0!important}
.pati-carousel-slide .pati-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
.pati-carousel-count{position:absolute;top:12px;right:12px;color:white;background:#0009;border-radius:18px;padding:5px 9px;font-size:11px;font-weight:700;pointer-events:none}
.pati-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#fffd;color:#121316;border-radius:50%;width:31px;height:31px;font-size:26px;display:grid;place-items:center;line-height:1}
.pati-carousel-arrow.prev{left:9px}.pati-carousel-arrow.next{right:9px}
@media(max-width:690px){.pati-carousel-arrow{width:28px;height:28px;font-size:22px}.pati-carousel-count{top:8px;right:8px}}
#post-form .pati-media-controls[hidden]{display:none!important}
.pati-crop-pages{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%}
.pati-crop-pages button{background:#17181b;color:white;border:0;border-radius:9px;width:36px;height:34px;font-size:24px}
.pati-crop-pages strong{font-size:12px}
.pati-social-actions [data-action="comment"] .icon{display:inline-block!important;stroke:#18191c!important;stroke-width:2.3!important;fill:none!important}
.pati-video-sound .icon,.pati-dm-mic .icon{display:block!important;visibility:visible!important;opacity:1!important;stroke-width:2.4!important}
.modern-chat .chat-history{overflow-y:auto!important;overscroll-behavior-y:contain;scroll-behavior:auto!important}

/* Patiyiz Eğitim: accessible monochrome learning hub */
.pati-edu{width:100%;max-width:100%;padding-bottom:35px}
.pati-edu-hero{position:relative;background:#17181b;color:white;border-radius:20px;padding:28px 25px;margin-bottom:20px}
.pati-edu-hero>span{font-size:10px;letter-spacing:1.4px;font-weight:800;color:#c6c7ca}
.pati-edu-hero h1{font-size:clamp(23px,4vw,32px);line-height:1.25;letter-spacing:-.8px;max-width:500px;margin:12px 0}
.pati-edu-hero p{font-size:12px;color:#c9cace;line-height:1.7;max-width:470px}
.pati-edu-summary{display:flex;align-items:center;gap:10px;margin-top:18px}
.pati-edu-summary b{font-size:21px}.pati-edu-summary small{color:#c9cace}
.pati-edu-categories{display:flex;gap:8px;overflow-x:auto;margin:0 0 17px;padding:3px 0 8px;scrollbar-width:none}
.pati-edu-categories button{border:1px solid #e1e1e5;background:white;color:#414249;white-space:nowrap;padding:9px 12px;border-radius:25px;font-size:12px;font-weight:750}
.pati-edu-categories button.active{background:#17181b;color:white;border-color:#17181b}
.pati-edu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pati-edu-card{min-width:0;min-height:150px;display:flex;align-items:flex-start;text-align:left;gap:12px;background:#fff;border:1px solid #e8e8eb;border-radius:16px;padding:18px;cursor:pointer}
.pati-edu-card:hover{border-color:#71737a;background:#fafafa}
.pati-edu-emoji{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;background:#f2f2f4;border-radius:12px;font-size:25px}
.pati-edu-card-body{flex:1;min-width:0;display:grid;gap:6px}
.pati-edu-card-body small{font-size:10px;color:#8b8d94}
.pati-edu-card-body strong{font-size:14px;color:#191a1e;line-height:1.35}
.pati-edu-card-body>span{font-size:11px;color:#767880;line-height:1.5}
.pati-edu-status{font-size:10px;color:#17181b;white-space:nowrap;align-self:flex-end}
.pati-edu-back{background:transparent;border:0;color:#24252a;font-weight:800;padding:10px 0 18px}
.pati-edu-lesson-head{display:flex;align-items:center;gap:16px;padding:24px;border-radius:18px;background:#17181b;color:#fff;margin-bottom:15px}
.pati-edu-lesson-head>span{font-size:38px}
.pati-edu-lesson-head small{font-size:11px;color:#c3c4c9}
.pati-edu-lesson-head h1{font-size:clamp(20px,4vw,28px);margin:8px 0}
.pati-edu-lesson-head p{font-size:12px;color:#d4d4d7}
.pati-edu-lesson-body{background:white;border:1px solid #e7e7e9;border-radius:16px;padding:22px}
.pati-edu-step{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #f0f0f2;padding:12px 0}
.pati-edu-step>b{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;background:#e9e9eb;border-radius:50%;font-size:12px}
.pati-edu-step p{margin:0;font-size:13px;line-height:1.8}
.pati-edu-quiz{margin-top:24px;padding:18px;background:#f6f6f7;border-radius:13px;display:grid;gap:9px}
.pati-edu-quiz>strong{font-size:15px}
.pati-edu-quiz p{font-size:12px}
.pati-edu-quiz>button{background:#fff;border:1px solid #dedee2;border-radius:10px;text-align:left;padding:12px;font-size:12px}
.pati-edu-quiz>button.selected{background:#17181b;color:white;border-color:#17181b}
.pati-edu-feedback{font-weight:750;color:#28292d}
.pati-edu-notice{font-size:11px;color:#777980;line-height:1.65;margin-top:16px}
@media(max-width:690px){.pati-edu{padding:12px 12px 110px}.pati-edu-grid{grid-template-columns:1fr}.pati-edu-card{min-height:100px;padding:14px}.pati-edu-hero{padding:23px 20px}.pati-edu-lesson-body{padding:15px}}
