/* k1tap 0.9.21 — compact, responsive interaction layer. Existing theme/art remains intact. */
.k121-mobile-footer{display:none}.k121-quick-compose,.k121-compose-prompt{display:none}.k121-compose-prompt{color:var(--ink)}.kgs-composer:not(.k121-compact) .kgs-composer-title:after{content:'Yeni paylaşım';font-weight:650;color:var(--ink)}
.k121-compact{padding:13px 15px!important;display:grid;gap:9px;box-shadow:0 2px 7px #26331d08!important}.k121-compact .kgs-composer-title{margin:0!important;display:flex;gap:10px;align-items:center}.k121-compact .kgs-composer-title>.k121-icon{color:var(--green);flex:none}.k121-compact .kgs-avatar{width:40px;height:40px}.k121-compact .k121-compose-prompt{display:block;flex:1;min-width:0;text-align:left;font-weight:450;font-size:clamp(12px,2.6vw,15px);background:var(--k192-soft,var(--pale));color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:11px 14px;box-shadow:none;line-height:1.3;min-height:42px;white-space:normal}.k121-compact .k121-quick-compose{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;border-top:1px solid var(--line);padding-top:5px}.k121-quick-compose button,.k121-quick-compose a{display:flex;justify-content:center;align-items:center;gap:6px;background:transparent!important;color:var(--green-dark,var(--green))!important;border:0!important;box-shadow:none!important;font-size:12px;padding:7px 2px;min-height:36px;white-space:nowrap}.k121-quick-compose svg{width:18px;height:18px;color:var(--green)}
.k121-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:1}.k121-icon svg{width:21px;height:21px;display:block}
.k121-dialog{background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:20px;max-width:min(620px,calc(100vw - 28px));width:100%;max-height:calc(100dvh - 40px);padding:20px;overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 55px #17200e33;margin:auto}.k121-dialog::backdrop{background:#101a13a6;backdrop-filter:blur(3px)}.k121-dialog:not([open]){display:none!important}.k121-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:14px}.k121-dialog-head h2{font-size:21px;line-height:1.2;margin:0}.k121-close{background:transparent!important;border:1px solid var(--line)!important;box-shadow:none!important;color:var(--ink)!important;font-size:22px!important;min-width:40px;height:40px;line-height:1;padding:0!important;border-radius:13px;display:grid;place-items:center;flex:none}.k121-composer-person{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:var(--muted);font-size:13px}.k121-composer-dialog .kgs-compose-form{display:grid;gap:10px}.k121-composer-dialog .kgs-kind{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--line);border-radius:14px}.k121-composer-dialog .kgs-kind label{min-height:39px;display:flex!important;align-items:center;justify-content:center;gap:5px;border-radius:10px!important;font-size:13px}.k121-composer-dialog .kgs-kind svg{width:17px;height:17px}.k121-composer-dialog textarea[name=body]{min-height:120px!important;font-size:16px;line-height:1.55;resize:vertical}.k121-composer-dialog .kgs-compose-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.k121-composer-dialog .kgs-compose-actions>button{margin-left:auto}.k121-composer-dialog .kgs-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.k121-composer-dialog .kgs-field-grid input:last-child{grid-column:1/-1}.k121-composer-dialog .kgs-quote-fields{min-width:0}.k121-composer-dialog .k19-poll-fields{padding:10px;border:1px solid var(--line);border-radius:12px}.k121-composer-dialog .k19-poll-fields[open] summary{display:none}.k121-composer-dialog[data-k121-kind="poll"] .kgs-file{display:none}.k121-composer-dialog .k121-publish-status{color:var(--green-dark);padding:10px;border-radius:9px;background:var(--pale);font-size:13px}.k121-publish-status.error{background:var(--white);color:#b45749!important;border:1px solid #b4574970}.k121-template-strip{display:flex;gap:8px;overflow-x:auto;padding:5px 0 8px;scroll-snap-type:x proximity;max-width:100%;scrollbar-width:thin}.k121-template-option{scroll-snap-align:start;flex:0 0 110px;width:110px;min-width:0;padding:4px!important;display:grid;gap:4px;background:var(--white)!important;color:var(--muted)!important;box-shadow:none!important;border:1px solid var(--line)!important;border-radius:10px!important;text-align:center;font-size:11px;line-height:1.2}.k121-template-option[aria-pressed=true]{border:2px solid var(--green)!important;color:var(--green-dark)!important}.k121-template-option .kgs-quote{min-height:44px!important;height:44px!important;aspect-ratio:auto!important;padding:6px!important;border-radius:6px!important;overflow:hidden;margin:0!important;display:grid!important;place-items:center!important;width:100%;pointer-events:none}.k121-template-option .kgs-quote-text{font-size:16px!important;margin:0!important}.k121-template-option small{white-space:normal;font-size:10px}.kgs-quote-author[hidden],.kgs-quote-book[hidden]{display:none!important}
.k121-create-sheet{max-width:450px;display:grid;gap:9px}.k121-create-sheet .k121-dialog-head{margin:0;padding:0;border:0;justify-content:flex-end}.k121-create-sheet .k121-dialog-head h2{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.k121-create-hero{text-align:center;position:relative;padding:0 4px 10px}.k121-create-hero>.k121-icon{color:var(--green);display:inline-flex}.k121-create-hero>.k121-icon:first-child svg{width:54px;height:54px}.k121-create-hero>.k121-icon:nth-child(2){position:absolute;top:1px;left:calc(50% + 13px);color:#b39758;transform:rotate(-6deg)}.k121-create-hero>.k121-icon:nth-child(2) svg{width:29px;height:29px}.k121-create-hero h2{font-family:Georgia,serif;font-size:28px;margin:2px 0 5px;color:var(--green-dark)}.k121-create-hero p{font-size:13px;color:var(--muted);margin:0}.k121-create-item{display:flex!important;align-items:center;gap:12px;width:100%;min-height:64px;text-align:left;padding:9px 12px!important;background:var(--white)!important;background:linear-gradient(125deg,var(--white),var(--paper))!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:0 2px 4px #293a2010!important}.k121-create-item>.k121-icon:first-child{width:43px;height:43px;border-radius:13px;background:var(--pale);color:var(--green)}.k121-create-item>.k121-icon:first-child svg{width:24px;height:24px}.k121-create-item>.k121-icon:last-child{color:var(--green)}.k121-create-copy{min-width:0;flex:1;display:grid;gap:3px}.k121-create-copy strong{font-size:15px;color:var(--ink);line-height:1.25}.k121-create-copy small{font-size:12px;color:var(--muted);line-height:1.3}
.k121-post-sheet .k194-menu-body{position:static!important;display:grid!important;max-height:none!important;width:100%!important;border:0!important;box-shadow:none!important;padding:0!important;gap:3px!important;overflow:visible!important}.kgs-post-menu .k194-menu-body>button,.kgs-post-menu .k194-menu-body>form>button,.k121-post-sheet .k194-menu-body>button,.k121-post-sheet .k194-menu-body>form>button{display:flex;align-items:center;gap:9px;text-align:left;box-shadow:none!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--ink)!important;min-height:39px;padding:9px!important;font-size:13px}.k194-menu-body>button:hover,.k194-menu-body>form>button:hover{background:var(--pale)!important}.k121-post-sheet .k194-menu-body details>summary{padding:8px;color:var(--muted)}.k194-menu-body .kgs-report summary{color:#b25b50!important}.k194-profile-options summary{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:36px;font-size:22px!important;list-style:none}.k194-profile-options summary::-webkit-details-marker{display:none}.k194-profile-options[open]{background:var(--white);padding:8px;border:1px solid var(--line);border-radius:12px}.k194-profile-options[open] button{display:inline-flex;align-items:center;gap:6px;box-shadow:none!important}
.k121-filter-more{position:relative;min-width:0}.k121-filter-more summary{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:10px;min-height:43px;padding:8px 12px;background:var(--white);color:var(--green-dark);list-style:none;cursor:pointer;font-size:13px;white-space:nowrap}.k121-filter-more summary::-webkit-details-marker{display:none}.k121-filter-more select{min-width:150px;width:100%;font-size:14px;margin-top:6px}.kg-filter:has(>.k121-filter-more){grid-template-columns:minmax(0,1fr) auto auto!important;align-items:start!important}.kg-filter:has(>.k121-filter-more)>input:not([type=hidden]){grid-column:auto!important;min-width:0!important}.kg-filter:has(>.k121-filter-more)>button{min-height:43px}
.k121-toast-stack{position:fixed;top:calc(72px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);z-index:15000;display:grid;gap:6px;width:max-content;max-width:calc(100vw - 24px);pointer-events:none}.k121-toast{padding:10px 13px;background:var(--white);border:1px solid var(--line);color:var(--ink);font-size:13px;border-radius:12px;box-shadow:0 4px 18px #15230f18;display:flex;align-items:center;gap:9px;pointer-events:auto}.k121-toast:before{content:'✓';color:var(--green);font-weight:700}.k121-toast.error:before{content:'!';color:#bc6756}.k121-undo,.k121-retry{background:transparent!important;color:var(--green-dark)!important;border:0!important;box-shadow:none!important;padding:4px!important;font-size:12px!important;text-decoration:underline}.k121-new-posts{width:100%;margin:5px 0;min-height:34px;border:1px solid var(--line)!important;box-shadow:none!important;background:var(--pale)!important;color:var(--green-dark)!important;font-size:13px}.k121-new-posts[hidden],.k121-publish-status[hidden],.kgs-post[hidden]{display:none!important}
.kg-card.kg-empty{border-radius:16px!important;box-shadow:none!important}.k110-empty>svg{width:43px!important;height:43px!important;padding:8px;background:var(--pale);border-radius:14px;box-sizing:content-box}.k110-empty{padding:25px 16px!important}.kgs-top-actions [data-kgx-unread]{background:var(--green)!important;color:#fff!important;font-size:10px!important;min-width:17px;height:17px;padding:1px 4px;line-height:15px;border:1px solid var(--white);box-shadow:none!important}.kgs-top-actions [data-kgx-unread][hidden]{display:none!important}
.kg-main button:not([disabled]):active,.kgs-bottom a:active,.k121-dialog button:not([disabled]):active{transform:scale(.98)}.kg-main,.k121-dialog,.k121-template-strip,.kgs-sidebar{scrollbar-width:thin;scrollbar-color:var(--sage) transparent}.kgs-bottom a:not(.kgs-plus){gap:2px}.kgs-bottom a.active:not(.kgs-plus) svg{box-sizing:content-box;padding:4px 12px;border-radius:18px;background:var(--pale);color:var(--green-dark);fill:none!important}.kgs-bottom a.active:not(.kgs-plus){color:var(--green-dark)!important}.k121-dialog:has(.k18-mentions) .k18-mentions{position:fixed;z-index:5}.k194-toast-stack{top:calc(72px + env(safe-area-inset-top,0px))!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-width:calc(100vw - 24px)}.k194-toast{border:1px solid var(--line);box-shadow:0 4px 14px #18251115!important;border-radius:12px!important;font-size:13px!important}
@media(max-width:760px){
.k114-footer .k121-desktop-footer{display:none!important}.k114-footer .k114-footer-inner{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}.k114-footer{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}.k121-mobile-footer{display:grid;gap:4px;justify-items:center;text-align:center;padding:12px 12px 10px;color:var(--muted);border-top:1px solid var(--line)}.k121-footer-brand{display:flex;align-items:center;justify-content:center;gap:6px;font:700 22px/1.1 Georgia,serif;color:var(--green-dark)!important}.k121-footer-brand svg{width:22px;height:22px}.k121-footer-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:0 12px;width:100%;max-width:440px}.k121-footer-nav details{display:contents}.k121-footer-nav summary{display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;list-style:none;min-height:40px;font-size:13px;color:var(--green-dark);white-space:nowrap}.k121-footer-nav summary::-webkit-details-marker{display:none}.k121-footer-nav summary:after{content:'';width:6px;height:6px;border:solid var(--green);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-3px}.k121-footer-nav details[open] summary:after{transform:rotate(225deg);margin-top:3px}.k121-footer-nav details>div{order:4;flex:0 0 100%;padding:6px 8px;display:grid;gap:3px;background:var(--pale);border-radius:10px}.k121-footer-nav details:not([open])>div{display:none}.k121-footer-nav details>div>a,.k121-footer-nav details>div>button{padding:7px!important;min-height:34px;line-height:1.4;color:var(--ink)!important;font-size:13px!important;text-align:center;background:transparent!important;border:0!important;box-shadow:none!important}.k121-footer-social{display:flex;align-items:center;justify-content:center;gap:6px}.k121-footer-social>a{display:grid;place-items:center;width:40px;height:38px;color:var(--green-dark)}.k121-footer-social svg{width:19px;height:19px}.k121-footer-rule{display:flex;align-items:center;gap:8px;width:100%;max-width:310px;color:var(--green);margin:1px 0}.k121-footer-rule:before,.k121-footer-rule:after{content:'';height:1px;background:var(--line);flex:1}.k121-footer-rule svg{width:15px;height:15px}.k121-mobile-footer>small{font-size:10px;color:var(--muted);line-height:1.4}
.k121-compact{padding:10px 11px!important;gap:6px}.k121-compact .kgs-composer-title{gap:7px!important}.k121-compact .kgs-composer-title>.k121-icon{display:none}.k121-quick-compose button,.k121-quick-compose a{gap:4px;font-size:11px;min-height:36px}.k121-quick-compose svg{width:15px;height:15px}.k121-compact .k121-compose-prompt{font-size:12px;padding:10px 12px}.k121-compact .kgs-avatar{width:35px;height:35px}
.k121-composer-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:100dvh;border-radius:0;border:0;margin:0;padding:calc(14px + env(safe-area-inset-top,0px)) 15px calc(18px + env(safe-area-inset-bottom,0px));box-sizing:border-box}.k121-composer-dialog .kgs-compose-actions{gap:6px}.k121-composer-dialog .kgs-compose-actions .k199-audience{max-width:145px}.k121-composer-dialog .kgs-field-grid{grid-template-columns:minmax(0,1fr)!important}.k121-composer-dialog .kgs-field-grid input{grid-column:auto!important}.k121-composer-dialog input,.k121-composer-dialog textarea,.k121-composer-dialog select{font-size:16px!important}.k121-create-sheet,.k121-post-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:calc(100dvh - 16px);border-radius:23px 23px 0 0;margin:0;padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px));box-sizing:border-box}.k121-create-sheet{background:radial-gradient(ellipse at 100% 0%,var(--pale) 0%,transparent 40%),var(--white);gap:7px}.k121-create-sheet .k121-dialog-head:before{content:'';position:absolute;top:10px;left:calc(50% - 18px);width:36px;height:4px;background:var(--sage);opacity:.65;border-radius:4px}.k121-create-sheet .k121-close{height:34px;min-width:34px}.k121-create-hero{padding-bottom:7px}.k121-create-item{min-height:62px}.k121-post-sheet .k194-menu-body button{min-height:42px}.k121-keyboard .kgs-bottom,.k121-keyboard #k1-widgets:not(.k123-chat-open),.k121-keyboard .k194-top{display:none!important}.kg-filter:has(>.k121-filter-more){gap:6px!important}.k121-filter-more summary{padding:8px!important}.k121-filter-more summary>.k121-icon svg{width:17px;height:17px}.k121-filter-more[open]{grid-column:2/4}.kg-filter:has(>.k121-filter-more[open])>button{grid-column:3}.k121-toast-stack{top:calc(12px + env(safe-area-inset-top,0px));}
#k1-chat-toggle{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;border-radius:50%!important;display:grid!important;place-items:center;padding:0!important;overflow:hidden;gap:0!important;font-size:0!important;box-shadow:0 2px 8px #25321b22!important}#k1-chat-toggle svg{width:23px!important;height:23px!important;flex:none}#k1-chat-toggle span{display:none!important}.kgs-bottom .kgs-plus{width:46px;height:46px}.kgs-bottom a.active:not(.kgs-plus) svg{padding:3px 10px}
}
@media(max-width:360px){.k121-footer-nav{gap:0 9px}.k121-quick-compose button,.k121-quick-compose a{font-size:10px}.k121-quick-compose svg{width:13px;height:13px}.k121-create-item{gap:8px}.k121-create-copy small{font-size:11px}.k121-create-hero h2{font-size:25px}.k121-filter-more summary span:last-child{font-size:0}.k121-filter-more summary{padding:8px 11px!important}}
@media(prefers-reduced-motion:reduce){.k121-dialog,.k121-dialog *, .k121-compact *{animation:none!important;transition:none!important}.kg-main button:active,.kgs-bottom a:active,.k121-dialog button:active{transform:none!important}}

.k121-composer-identity{display:grid;gap:2px}.k121-composer-identity strong{color:var(--ink);font-size:14px}.k121-composer-identity small{font-size:11px;color:var(--muted)}.k121-book-link{border:1px solid var(--line);border-radius:12px;padding:0 10px;margin-bottom:8px}.k121-book-link summary{display:flex;align-items:center;gap:7px;min-height:44px;color:var(--green-dark);cursor:pointer;list-style:none;font-size:13px}.k121-book-link summary::-webkit-details-marker{display:none}.k121-book-link summary small{margin-left:auto;color:var(--muted);font-size:11px}.k121-book-link summary:after{content:'›';font-size:20px;color:var(--green)}.k121-book-link[open] summary:after{transform:rotate(90deg)}.k121-book-link .kgs-field-grid{padding-bottom:10px}.k121-native-template{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}.k121-template-label{font-size:13px;font-weight:600;color:var(--ink);margin:7px 0 1px}.k121-template-option .kgs-quote{max-width:none!important;min-width:0!important;margin:0!important;align-self:stretch!important;justify-self:stretch!important}.k121-create-copy small{font-weight:450}.k121-create-copy strong{font-family:Georgia,serif;font-weight:650}.k121-dialog .kgs-quote .kg041-quote-brand{display:none}.k121-template-option .kgs-quote{box-shadow:none!important}.k121-composer-dialog .kgs-preview .kgs-quote{margin-inline:auto}.k121-composer-dialog .kgs-quote-book[hidden],.k121-composer-dialog .kgs-quote-author[hidden]{display:none!important}
