html.chipter42{--cc42-bg:#111c22;--cc42-field:#19272e;--cc42-ink:#e9f0f2;--cc42-muted:#9baeb8;--cc42-line:#30414a;--cc42-accent:#08cbb2;--cc42-shadow:0 18px 65px #0006}
html.chipter42[data-theme=light],html.chipter42.light,html.chipter42 body.light,html.chipter42 body[data-theme=light]{--cc42-bg:#fff;--cc42-field:#f0f5f6;--cc42-ink:#162c34;--cc42-muted:#536a75;--cc42-line:#cedce0;--cc42-accent:#008a78;--cc42-shadow:0 18px 65px #1233}
html.chipter42 :is(.cc42-panel,.cc42-emoji-picker,.cc42-photo) *,html.chipter42 .cc42-card *{box-sizing:border-box}
html.chipter42 [hidden]{display:none!important}
html.chipter42 :is(.cc42-primary,.cc42-secondary,.cc42-action,.cc42-icon,.cc42-text-button,.cc42-notifications,.cc42-nav-action){font:inherit;cursor:pointer;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;border:1px solid var(--cc42-line);padding:9px 14px;line-height:1.35;color:var(--cc42-ink);background:var(--cc42-field);text-decoration:none;transition:background .15s,transform .15s}
html.chipter42 :is(.cc42-action,.cc42-icon,.cc42-notifications) svg,html.chipter42 .cc42-nav-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
html.chipter42 :is(.cc42-primary,.cc42-action.selected){background:var(--cc42-accent);color:#002c26;border-color:transparent}
html.chipter42 :is(.cc42-secondary,.cc42-action,.cc42-icon,.cc42-primary,.cc42-nav-action):hover{filter:brightness(1.1)}
html.chipter42 :is(.cc42-panel,.cc42-emoji-picker,.cc42-photo,.cc42-card) :focus-visible{outline:3px solid var(--cc42-accent);outline-offset:3px}
html.chipter42 button:disabled{cursor:wait;opacity:.55}
html.chipter42 .cc42-text-button{border:0;background:transparent;padding:6px;color:var(--cc42-accent);font-size:13px}
html.chipter42 .cc42-icon{width:44px;flex:0 0 44px;padding:10px}
html.chipter42 dialog.cc42-panel,html.chipter42 dialog.cc42-emoji-picker{position:fixed;inset:0;margin:auto;width:min(560px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border:1px solid var(--cc42-line);border-radius:22px;background:var(--cc42-bg);color:var(--cc42-ink);box-shadow:var(--cc42-shadow);text-align:left}
html.chipter42 dialog.cc42-panel[open],html.chipter42 dialog.cc42-emoji-picker[open]{display:flex;flex-direction:column;animation:cc42-enter .16s ease-out}
html.chipter42 dialog.cc42-wide{width:min(760px,calc(100vw - 24px))}
html.chipter42 :is(.cc42-panel,.cc42-emoji-picker)>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;margin:0;padding:14px 18px;border-bottom:1px solid var(--cc42-line)}
html.chipter42 :is(.cc42-panel,.cc42-emoji-picker) h2{margin:0;font-size:20px;line-height:1.3;color:inherit}
html.chipter42 .cc42-panel-body{padding:18px;overflow:auto;overscroll-behavior:contain;min-height:0}
html.chipter42 :is(.cc42-panel,.cc42-emoji-picker,.cc42-photo)::backdrop{background:#02090dbb;backdrop-filter:blur(5px)}
html.chipter42 .cc42-state{text-align:center;padding:28px 14px;color:var(--cc42-muted);line-height:1.5}
html.chipter42 .cc42-state p{margin:0 0 16px}
html.chipter42 .cc42-panel input{width:100%;background:var(--cc42-field);color:var(--cc42-ink);border:1px solid var(--cc42-line);border-radius:10px;padding:12px}
html.chipter42 .cc42-toast{position:fixed;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:10040;max-width:calc(100vw - 32px);padding:14px 20px;border:1px solid var(--cc42-line);border-radius:14px;background:var(--cc42-bg);box-shadow:var(--cc42-shadow);color:var(--cc42-ink)}
html.chipter42 .cc42-card{overflow:visible;min-width:0}
html.chipter42 .cc42-card :is(p,a,strong){overflow-wrap:anywhere}
html.chipter42 .cc42-card .post-body{white-space:pre-wrap;line-height:1.65}
html.chipter42 .post-body.cc42-collapsed{display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden;max-height:13.2em}
html.chipter42 .cc42-expand{border:0;background:none;color:var(--cc42-accent);padding:8px 0;min-height:44px;font:inherit;cursor:pointer}
html.chipter42 .cc42-card footer{display:block;padding-top:12px}
html.chipter42 .cc42-actions{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:8px}
html.chipter42 .cc42-action{min-width:44px;flex:1 1 0;padding:9px 8px}
html.chipter42 .cc42-post-links{display:flex;gap:14px;flex-wrap:wrap;padding:5px 0;font-size:12px}
html.chipter42 .cc42-reaction-choices{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
html.chipter42 .cc42-reaction-choice{font-size:32px;padding:10px;border:1px solid var(--cc42-line);border-radius:16px;min-width:60px;min-height:60px;background:var(--cc42-field);cursor:pointer}
html.chipter42 .cc42-reaction-choice[aria-pressed=true]{outline:2px solid var(--cc42-accent)}
html.chipter42 .cc42-comments{border-top:1px solid var(--cc42-line);margin-top:14px;padding-top:12px;min-width:0}
html.chipter42 .cc42-comments form{display:grid;gap:8px;margin-top:12px}
html.chipter42 .cc42-comments form>div{display:flex;gap:8px;flex-wrap:wrap}
html.chipter42 .cc42-comments textarea{display:block;width:100%;min-height:86px;resize:vertical;padding:12px 44px 12px 12px;border:1px solid var(--cc42-line);border-radius:12px;color:var(--cc42-ink);background:var(--cc42-field);font:inherit}
html.chipter42 .cc42-comments [role=status]{font-size:13px;line-height:1.5;color:var(--cc42-muted);margin:10px 0}
html.chipter42 .cc42-comment{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--cc42-line);margin:0}
html.chipter42 .cc42-comment>div{flex:1;min-width:0}
html.chipter42 .cc42-comment a{font-weight:600;color:var(--cc42-accent)}
html.chipter42 .cc42-comment small{display:block;font-size:11px;color:var(--cc42-muted)}
html.chipter42 .cc42-comment-body{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
html.chipter42 .cc42-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--cc42-field);font-weight:600}
html.chipter42 .cc42-avatar img{width:100%;height:100%;object-fit:cover}
html.chipter42 button.cc42-media{display:block;position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;padding:0;margin:14px 0;border:1px solid var(--cc42-line);border-radius:16px;background:linear-gradient(110deg,var(--cc42-field),var(--cc42-bg),var(--cc42-field));cursor:zoom-in}
html.chipter42 .cc42-media .post-image{width:100%;height:100%;max-height:none;margin:0;object-fit:cover;border-radius:0;opacity:0;transition:opacity .2s}
html.chipter42 .cc42-media.loaded .post-image{opacity:1}
html.chipter42 .cc42-media.failed:after{content:'Фото · Photo';position:absolute;inset:0;display:grid;place-items:center;color:var(--cc42-muted)}
html.chipter42 .cc42-media-count{position:absolute;right:10px;bottom:10px;padding:5px 9px;border-radius:20px;background:#000b;color:white;font-size:12px}
html.chipter42 .cc42-saved-card{padding:18px;border:1px solid var(--cc42-line);border-radius:18px;background:var(--cc42-bg);margin-bottom:16px;color:var(--cc42-ink)}
html.chipter42 .cc42-saved-card>header{display:flex;gap:10px;align-items:center;padding:0;margin:0}
html.chipter42 .cc42-saved-card small{display:block;color:var(--cc42-muted);font-size:11px;margin-top:4px}
html.chipter42 .cc42-nav-action{display:flex;width:100%;justify-content:flex-start;background:transparent;border:0}
html.chipter42 .feed-page .page-head{gap:10px}
html.chipter42 .feed-page .page-head h1{flex:1;min-width:0}
html.chipter42 .cc42-notifications{position:relative;width:40px;min-height:40px;padding:9px;background:transparent}
html.chipter42 .cc42-notification{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--cc42-line);padding:14px;border-radius:14px;margin-bottom:10px;color:var(--cc42-ink);text-decoration:none}
html.chipter42 .cc42-notification.unread{border-left:3px solid var(--cc42-accent);background:var(--cc42-field)}
html.chipter42 .cc42-notification-copy{min-width:0;overflow-wrap:anywhere;line-height:1.4}
html.chipter42 .cc42-notification-copy p{margin:4px 0;font-size:14px}
html.chipter42 .cc42-notification-copy small{color:var(--cc42-muted);font-size:11px}
html.chipter42 .profile-actions-block{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:stretch!important;overflow:visible!important}
html.chipter42 .profile-actions-block>:is(.profile-share-button,.cpp-share){flex:1 0 100%!important;width:100%!important;margin:0!important}
html.chipter42 .profile-actions-block>a:not(.profile-share-button):not(.cpp-share):not(.gift-button){flex:1 1 120px;min-width:0;margin:0!important;min-height:44px;display:flex;align-items:center;justify-content:center}
html.chipter42 .profile-actions-block>.dropdown{display:block!important;position:relative!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
html.chipter42 .profile-actions-block .menu-button{display:flex!important;align-items:center;justify-content:center;position:static!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:8px!important;border:1px solid var(--cc42-line)!important;border-radius:12px!important;background:var(--cc42-field)!important}
html.chipter42 .profile-actions-block .dropdown-menu{position:absolute!important;right:0!important;left:auto!important;top:calc(100% + 8px)!important;bottom:auto!important;transform:none!important;min-width:200px;max-width:calc(100vw - 48px);z-index:1050;padding:6px;border-radius:12px;background:var(--cc42-bg);color:var(--cc42-ink);border:1px solid var(--cc42-line);box-shadow:var(--cc42-shadow)}
html.chipter42 .profile-actions-block .dropdown-item{width:100%;min-height:44px;margin:0;padding:12px;text-align:left;background:transparent;color:var(--cc42-ink);border:0;border-radius:8px;white-space:normal}
html.chipter42 .profile-actions-block .dropdown-item:hover{background:var(--cc42-field)}
html.chipter42 .cc42-draft-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:12px}
html.chipter42 .cc42-draft-state{color:var(--cc42-muted);flex:1;min-width:120px}
html.chipter42 .cc42-emoji-target{padding-right:44px!important}
html.chipter42 .cc42-emoji-trigger{position:fixed;width:36px;height:36px;min-height:36px;z-index:1060;border:0;border-radius:10px;background:var(--cc42-field);color:var(--cc42-accent);padding:0;line-height:1;font-size:26px;cursor:pointer}
html.chipter42 .cc42-emoji-picker{width:min(440px,calc(100vw - 20px))!important}
html.chipter42 .cc42-emoji-picker [data-close]{width:40px;height:40px;min-height:40px;font-size:24px;border:0;border-radius:10px;background:var(--cc42-field);color:inherit;cursor:pointer}
html.chipter42 .cc42-emoji-search{display:block;padding:12px 14px;margin:0;font-size:12px;color:var(--cc42-muted)}
html.chipter42 .cc42-emoji-search input{display:block;width:100%;height:44px;margin-top:6px;padding:8px 12px;border:1px solid var(--cc42-line);border-radius:12px;background:var(--cc42-field);color:var(--cc42-ink);font:inherit;font-size:16px}
html.chipter42 .cc42-emoji-picker nav{display:flex;gap:6px;overflow-x:auto;flex-shrink:0;padding:0 14px 10px;scrollbar-width:thin}
html.chipter42 .cc42-emoji-picker nav button{flex:0 0 auto;min-height:40px;padding:8px 12px;border:1px solid var(--cc42-line);border-radius:20px;background:var(--cc42-field);color:inherit;font:inherit;font-size:12px;cursor:pointer}
html.chipter42 .cc42-emoji-picker nav button.selected{color:#002c26;background:var(--cc42-accent);border-color:transparent}
html.chipter42 .cc42-emoji-tones{padding:0 14px 8px;font-size:12px}
html.chipter42 .cc42-emoji-tones label{display:flex;gap:12px;align-items:center;justify-content:space-between}
html.chipter42 .cc42-emoji-tones select{background:var(--cc42-field);color:inherit;padding:8px;border-radius:8px;border:1px solid var(--cc42-line)}
html.chipter42 .cc42-emoji-status{margin:0;padding:0 14px;font-size:13px;line-height:1.5}
html.chipter42 .cc42-emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:12px;max-height:42dvh}
html.chipter42 .cc42-emoji-choice{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:40px;aspect-ratio:1;padding:3px;border:0;border-radius:9px;font-size:29px;line-height:1;background:transparent;color:inherit;cursor:pointer}
html.chipter42 .cc42-emoji-choice:hover{background:var(--cc42-field)}
html.chipter42 .cc42-emoji-sprite{position:absolute;left:-9999px;width:0;height:0;overflow:hidden;pointer-events:none}
html.chipter42 .cc42-glyph{position:relative;display:inline-block;min-width:1.1em;height:1.2em;vertical-align:-.22em;line-height:1.2;white-space:nowrap}
html.chipter42 .cc42-glyph-text{color:transparent;user-select:text;display:inline-block;min-width:1.1em}
html.chipter42 .cc42-glyph svg{position:absolute;inset:0;width:100%!important;height:100%!important;stroke:none;fill:initial;pointer-events:none;user-select:none}
html.chipter42 dialog.cc42-photo{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:#03080bf5;color:white;overflow:hidden;z-index:1100}
html.chipter42 dialog.cc42-photo[open]{display:flex;flex-direction:column}
html.chipter42 .cc42-photo>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;flex:0 0 auto;z-index:2;background:#071015}
html.chipter42 .cc42-photo>header [role=status]{font-size:13px;line-height:1.3;max-width:55%}
html.chipter42 .cc42-photo>header>div{display:flex;gap:6px}
html.chipter42 .cc42-photo button{width:44px;height:44px;border:1px solid #ffffff44;border-radius:12px;background:#172a34;color:white;font-size:23px;cursor:pointer;padding:0}
html.chipter42 .cc42-photo [data-fit]{font-size:15px}
html.chipter42 .cc42-photo-stage{position:relative;flex:1;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;padding-bottom:env(safe-area-inset-bottom)}
html.chipter42 .cc42-photo-stage>img{display:block;width:100%;height:100%;object-fit:contain;max-width:none;max-height:none;margin:0;user-select:none;pointer-events:none;opacity:0}
html.chipter42 .cc42-photo-stage>img.loaded{opacity:1}
html.chipter42 .cc42-photo-prev,html.chipter42 .cc42-photo-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2}
html.chipter42 .cc42-photo-prev{left:12px}html.chipter42 .cc42-photo-next{right:12px}
@keyframes cc42-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){html.chipter42 .cc42-panel-body{padding:12px}html.chipter42 .cc42-saved-card{padding:12px}html.chipter42 .cc42-actions{gap:6px}html.chipter42 .cc42-action{padding:8px 5px}html.chipter42 .feed-page .page-head h1{font-size:24px}html.chipter42 .feed-page #compose-post{padding:10px}html.chipter42 .feed-page #compose-post span{display:none}html.chipter42 .cc42-emoji-grid{gap:2px;padding:8px}html.chipter42 .profile-actions-block{gap:8px!important}html.chipter42 .profile-actions-block>a:not(.profile-share-button):not(.cpp-share):not(.gift-button){flex-basis:90px;font-size:13px}}
@media(prefers-reduced-motion:reduce){html.chipter42 *,html.chipter42 *:before,html.chipter42 *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html.chipter42 .profile-actions-block>[data-cv-follow]{flex:1 1 120px;min-width:0;min-height:44px;margin:0!important}
html.chipter42 .profile-actions-block:not(.cpp-owner-actions){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px!important;gap:8px!important}
html.chipter42 .profile-actions-block>.cpp-share{grid-column:1/-1}
html.chipter42 .profile-actions-block>.message-button,html.chipter42 .profile-actions-block>[data-cv-follow]{width:100%!important;min-width:0!important}
html.chipter42 .profile-actions-block .dropdown-menu:not(.show){display:none!important}
html.chipter42 .profile-actions-block .menu-button{font-size:24px!important;line-height:1}
html.chipter42 .cv-profile-hero{overflow:visible!important}
@media(max-width:600px){html.chipter42 .chipter-shell-top #connection,html.chipter42 .chipter-shell-caption{display:none!important}html.chipter42 .chipter-shell-actions{gap:4px!important}html.chipter42 .chipter-tester-badge{font-size:10px!important;padding:4px 6px}html.chipter42 .chipter-shell-mobile-brand{min-width:76px!important;max-width:none!important}html.chipter42 .chipter-shell-mobile-brand span{font-size:16px!important}}
