/* Patiyiz / 31 Ekim: daha sade ana akış, profil, menü, geri ve seri ödülü. */
#pati-header-coins,#pati-desktop-coins{display:none!important}
.pati-home-feed-tabs,#pati-feed-menu{display:none!important}
#pati-global-back[hidden]{display:none!important}
#pati-global-back{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:inherit;font-size:24px;line-height:1;padding:8px 5px;white-space:nowrap;min-width:56px;min-height:42px;font-weight:750}
#pati-global-back span{font-size:12px;font-weight:750}
#main-content>.pati-page-back{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:750;border:0;background:transparent;color:var(--ink,#181818);padding:7px 12px;margin:3px 0 5px;max-width:max-content;min-height:35px}
@media(max-width:740px){
 .mobile-header #pati-global-back:not([hidden]){flex:0 0 auto}
 .mobile-header #pati-global-back:not([hidden])~.brand{min-width:0;max-width:45vw}
 .mobile-header #pati-global-back:not([hidden])~.brand .brand-caption{display:none}
 #main-content>.pati-page-back{margin:4px 12px!important;padding:6px 5px}
 .pati-creator-dashboard,.pati-story-fullscreen{overscroll-behavior-y:contain}
}
/* Never require users to finish a profile. Dismissal is account-specific. */
.pati-optional-onboarding{position:relative;max-width:100%;margin:2px auto 5px;padding:0 10px}
.pati-optional-onboarding .pati-progress-card{margin:0!important;max-width:100%;min-height:0}
.pati-onboarding-dismiss{position:absolute;z-index:3;right:16px;top:4px;width:33px;height:33px;border:0;border-radius:50%;background:var(--paper,#fff);color:var(--ink,#222);font-size:22px;line-height:1;cursor:pointer}
.pati-optional-onboarding .pati-progress-top{padding-right:38px!important}
.pati-optional-onboarding .pati-progress-top p{font-size:11px!important}
.pati-onboarding-thanks{max-width:100%}
/* Compact insights shortcut: detailed insights still opens on tap. */
.pati-ig-profile .pati-profile-insights-preview{display:flex!important;align-items:center;gap:8px;min-height:44px!important;max-height:65px!important;margin:7px 10px!important;padding:7px 11px!important;border-radius:11px!important;width:calc(100% - 20px)!important;box-sizing:border-box}
.pati-ig-profile .pati-profile-insights-preview>span:first-child{display:flex;flex:1;flex-direction:column;min-width:0;gap:1px}
.pati-ig-profile .pati-profile-insights-preview strong{font-size:12px!important;line-height:1.15}
.pati-ig-profile .pati-profile-insights-preview small{font-size:10px!important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pati-ig-profile .pati-profile-insights-value{font-size:14px!important;line-height:1.1;font-weight:800}
.pati-ig-profile .pati-profile-insights-arrow{font-size:16px!important}
@media(max-width:740px){.pati-ig-profile .pati-profile-insights-preview{margin:5px 7px!important;width:calc(100% - 14px)!important;min-height:40px!important;padding:6px 10px!important}}
/* Full-height scrollable menu, always single-column in a vertical reading order. */
#tools-form .pati-features-list{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0;overflow-y:visible!important}
#tools-form .pati-feature-group,#tools-form .pati-feature-add-pet,#tools-form .pati-feature-notifications{display:block!important;width:100%!important;box-sizing:border-box;min-width:0;margin:0!important}
#tools-form .pati-mobile-menu-list{display:flex!important;flex-direction:column!important;gap:2px!important;width:100%;grid-template-columns:1fr!important}
#tools-form .pati-mobile-menu-item{display:flex!important;align-items:center!important;justify-content:flex-start;gap:12px;width:100%!important;min-height:46px;text-align:left!important;box-sizing:border-box}
#tools-form .pati-mobile-menu-item .pati-menu-arrow{margin-left:auto}
#tools-form .pati-feature-group h3{margin:8px 0 5px}
#tools-form .pati-feature-intro{margin:2px 0 6px}
#tools-form .modal-content{max-height:min(75dvh,780px)!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@media(max-width:740px){#modal-root:has(#tools-form) .modal{max-height:92dvh!important;display:flex;flex-direction:column}#tools-form{min-height:0;overflow:hidden}#tools-form>.modal-content{max-height:none!important;flex:1;overflow-y:auto!important;padding-bottom:calc(80px + env(safe-area-inset-bottom))!important}}
/* Earned streaks are collected explicitly; no coin effects before server success. */
.pati-streak-goal-card .pati-streak-collect{background:var(--ink,#111)!important;color:var(--paper,#fff)!important;border-radius:11px!important;min-height:40px;font-weight:800}
.pati-streak-goal-card .pati-streak-collect:disabled{opacity:.55}
.pati-streak-goal-card.is-claimable{border:1.5px solid currentColor}
.pati-streak-collect-note{font-size:12px;margin:5px 0 0;opacity:.8}
@media(prefers-reduced-motion:reduce){.pati-streak-goal-card{scroll-behavior:auto}}
