/* Imbarka — calm surfaces, clear destinations and comfortable controls. */
#app-container{--ark-surface:#102a3a;--ark-line:#2b4758;--ark-gold:#f2ce80;--ark-muted:#b8cbd6}
#app-container button,#app-container a,#app-container input,#app-container textarea,#app-container select{touch-action:manipulation}
#app-container :is(button,a,input,textarea,select):focus-visible{outline:2px solid #f3d58e;outline-offset:3px}
#app-container .social-button,#app-container .adoption-btn,#app-container .social-icon-button{min-height:48px;box-sizing:border-box}
#app-container .social-icon-button{min-width:48px}
#app-container .social-button,#app-container .adoption-btn{font-size:14px;line-height:1.4;border-radius:12px;padding:11px 15px}
#app-container .social-icon{flex-shrink:0}
.ark-nav-avatar{width:24px;height:24px;object-fit:cover;border-radius:50%;border:1px solid #b8cbd6}
.ark-desktop-rail{display:none}
.social-user-menu[open] .social-menu-panel{display:block!important;max-height:calc(100dvh - 170px);overflow-y:auto}.social-user-menu .social-menu-panel :is(a,button){min-height:44px;align-items:center;box-sizing:border-box}
.social-mobile-nav [data-primary-nav]{position:relative;min-height:54px!important;font-size:11px!important;border-radius:12px}
.social-mobile-nav [data-primary-nav].active{background:#f1cc7914;color:#ffe0a0;box-shadow:inset 0 2px #e7bf70}
.social-mobile-nav .social-badge{position:absolute;top:0;right:12%;font-size:10px}
.ark-profile-friends{margin:0 0 16px;gap:10px;display:flex;align-items:center;width:100%;justify-content:flex-start}
.ark-profile-friends .social-icon:last-child{margin-left:auto}
.ark-publish-launch{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:18px;margin:0 0 20px;border:1px solid #9e84454d;border-radius:18px;color:#f4d58e;background:linear-gradient(110deg,#253439,#142c3b);cursor:pointer}
.ark-publish-launch>.social-icon:first-child{width:40px;height:40px;padding:8px;background:#f3cf7b;color:#142634;border-radius:13px;box-sizing:border-box}
.ark-publish-launch span:has(strong){flex:1}.ark-publish-launch strong{display:block;font:650 17px var(--ui-font,system-ui)}.ark-publish-launch small{display:block;margin-top:5px;color:#bed0db;font:13px/1.4 var(--ui-font,system-ui)}
.create-post-card[hidden]{display:none!important}
.ark-create-choices{display:grid;gap:12px}
.ark-create-choice{width:100%;display:flex;gap:15px;align-items:center;min-height:88px;padding:17px;background:#142f40;border:1px solid #365264;border-radius:16px;color:#e7f0f5;text-align:left;cursor:pointer}
.ark-create-choice:hover{background:#1d3c4e;border-color:#bd9c5a}.ark-create-choice>.social-icon:first-child{color:#efd18c;width:27px;height:27px}.ark-create-choice span:has(strong){flex:1}.ark-create-choice strong{display:block;font:650 16px var(--ui-font,system-ui)}.ark-create-choice small{display:block;color:#bad0dc;line-height:1.5;margin-top:4px;font-size:13px}
.ark-compose-identity{display:flex;gap:12px;align-items:center;padding:0 0 20px;color:#bdcfda;font-size:13px}.ark-compose-identity strong{display:block;font-size:17px;color:#f7fafc}.ark-compose-identity small{display:flex;align-items:center;gap:6px;margin-top:5px;line-height:1.4}.ark-compose-identity .social-icon{width:16px;height:16px}
#social-compose-form textarea{font-size:16px!important;min-height:130px;line-height:1.65;resize:vertical}
.ark-photo-picker{display:flex;align-items:center;gap:10px;min-height:60px;border:1px dashed #587183;background:#102b3b;border-radius:14px;padding:14px;margin-top:16px;cursor:pointer;flex-wrap:wrap;color:#f3d58e}.ark-photo-picker input{max-width:100%;font:13px var(--ui-font,system-ui);color:#c5d9e2}.ark-photo-picker input::file-selector-button{min-height:44px;border:0;border-radius:8px;background:#234659;color:#eef5f9;padding:8px 12px;margin-right:10px}
.ark-compose-image .social-upload-preview{max-height:340px;object-fit:contain;background:#091d2c;border-radius:16px;width:100%;margin:14px 0 8px}
.ark-operation-status,.ark-draft-status{font:13px/1.5 var(--ui-font,system-ui);color:#bdd3df;margin:12px 0}.ark-operation-status:empty,.ark-draft-status:empty{display:none}.ark-operation-status[data-busy=true]::before{content:'';display:inline-block;width:12px;height:12px;border:2px solid #4f6774;border-top-color:#f5d58f;border-radius:50%;margin-right:9px;vertical-align:-2px;animation:arkWait .9s linear infinite}
.ark-draft-discard{display:block;min-height:44px;padding:10px 0;background:none;border:0;color:#c8cbd2;text-decoration:underline;font:13px var(--ui-font,system-ui);cursor:pointer}
.ark-compose-dialog-actions{margin-top:16px;gap:10px}.ark-compose-dialog-actions #ark-publish-submit{margin-left:auto;min-width:126px;min-height:48px}
.social-inline-error{line-height:1.5;font-size:14px}.social-inline-error:empty{display:none}
.ark-new-posts-anchor{position:sticky;top:84px;z-index:40;height:0}.ark-new-posts{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:max-content;max-width:100%;display:block;margin:0;padding:13px 20px;border:1px solid #d2af62;border-radius:24px;background:#f1ce81;color:#102536;font:650 14px var(--ui-font,system-ui);cursor:pointer;box-shadow:0 6px 20px #0005;min-height:48px}
.ark-connection-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:min(600px,90%);width:max-content;padding:12px 18px;border:1px solid #8d743e;background:#243239;color:#ffe1a4;border-radius:12px;z-index:1900;font:13px/1.5 var(--ui-font,system-ui);box-shadow:0 8px 24px #0004;pointer-events:none}
#profile-publications{border-color:#294353;background:#0d2534;padding:20px!important}
#profile-publications .ark-publications-grid{gap:14px!important}
#profile-publications .ark-publications-grid .memory-card{border:0!important;background:#102d3d!important;border-radius:16px!important;box-shadow:0 3px 14px #0002;overflow:hidden}
#profile-publications .ark-publications-grid .memory-preview .memory-body{display:none!important}
#profile-publications .ark-publications-grid .memory-footer{display:none!important}
#profile-publications .ark-publications-grid .ark-post-location{margin:0;padding:0 12px 10px;font-size:12px;max-width:100%;box-sizing:border-box}
#profile-publications .ark-gallery-award{position:static!important;display:flex!important;border:0!important;background:none!important;box-shadow:none!important;margin:0!important;padding:7px 10px!important;border-radius:0!important;min-height:52px;align-items:center}
#profile-publications .ark-gallery-award .ark-shield{display:flex;align-items:center;gap:8px;min-width:80px;min-height:48px!important;padding:8px 12px!important;border:1px solid #4460725c!important;border-radius:12px;background:#0b2332!important}
#profile-publications .ark-gallery-award .ark-shield>svg{width:24px!important;height:29px!important;flex-basis:24px!important}.ark-gallery-award .ark-shield-count{font-size:14px!important}
#profile-publications .ark-publications-list .memory-body{font-size:16px!important;line-height:1.7!important}.ark-publications-list .memory-card{border-color:#345364!important;border-radius:16px!important}
.ark-post-actions button{min-height:48px!important;min-width:44px;justify-content:center}.ark-post-actions .ark-shield{min-width:72px}.ark-post-actions .ark-post-count{min-width:36px}.ark-post-actions .social-icon{width:21px!important;height:21px!important}.ark-post-actions>span:empty{display:none}
.social-post-footer>button{min-height:48px;font-size:14px}.feed-copy,.feed-body{font-size:15px!important;line-height:1.65}.feed-card{border-radius:18px!important;border-color:#294657!important}.feed-header strong{font-size:15px}.feed-header small{font-size:12px!important;color:#b4c8d4}
.social-field input,.social-field textarea,.adoption-field input,.adoption-field textarea,.adoption-field select{font-size:16px!important;line-height:1.5;min-height:48px;box-sizing:border-box}
.ark-profile-shield{cursor:pointer;border:1px solid #47606b;font-family:var(--ui-font,system-ui)}
.ark-shield-info{width:min(460px,calc(100% - 32px));box-sizing:border-box;padding:24px;border:1px solid #547083;border-radius:24px;background:#102a3a;color:#edf5f8;box-shadow:0 24px 90px #0008;max-height:85dvh;overflow:auto}.ark-shield-info::backdrop{background:#030e19bb;backdrop-filter:blur(5px)}.ark-shield-info h2{font:600 28px var(--display-font,Georgia);margin:0 0 12px;color:#f6d58c}.ark-shield-info p{font:15px/1.6 var(--ui-font,system-ui);color:#c3d5df}.ark-shield-info .ark-shield{display:flex;gap:12px;align-items:center;background:none;border:0;padding:12px 0}.ark-shield-info .ark-shield>svg{width:44px;height:52px}.ark-shield-info .ark-shield-count{font-size:24px}.ark-shield-info progress{accent-color:#f0cd80;width:100%;height:10px}.ark-shield-levels{display:grid;gap:8px;margin:20px 0}.ark-shield-levels>div{display:flex;justify-content:space-between;gap:15px;font:14px/1.5 var(--ui-font,system-ui);padding:9px 12px;border-radius:9px;background:#173545}.ark-shield-info .social-button{min-height:48px;margin-top:8px}.ark-shield-info .ark-shield-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ark-shield-celebrate{animation:arkAward .4s ease-out}
.ark-chat-retry{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 15px;margin-top:5px;background:#153c50;border:1px solid #62849a;color:#e2f1fa;border-radius:10px;font-size:14px;cursor:pointer}.ark-chat-send-status{font:13px/1.5 var(--ui-font,system-ui);color:#bed2de;min-height:0;margin:6px 0}.ark-chat-send-status:empty{display:none}.ark-chat-error{font-size:14px!important}.ark-chat-message{font-size:15px!important;line-height:1.6}.ark-chat-reply-action,.ark-chat-reply-cancel{min-width:44px;min-height:44px}#modal-chat-input-text,#chat-input-text{font-size:16px!important;min-height:48px}#modal-chat-send,#chat-send{min-width:48px;min-height:48px}
@keyframes arkWait{to{transform:rotate(360deg)}}@keyframes arkAward{50%{transform:scale(1.12)}}
@media(min-width:851px){
 header.social-header .social-nav>:not([data-platform-admin]){display:none}
 .ark-desktop-rail{display:flex;position:fixed;left:16px;top:94px;width:198px;bottom:24px;gap:9px;flex-direction:column;z-index:1000;padding:10px 0}
 .ark-desktop-rail>button{display:flex;position:relative;align-items:center;gap:12px;min-height:56px;padding:13px 16px;color:#baceda;background:none;border:1px solid transparent;border-radius:13px;text-align:left;font:550 15px var(--ui-font,system-ui);cursor:pointer}
 .ark-desktop-rail .social-icon{width:24px;height:24px}.ark-desktop-rail .ark-nav-avatar{width:28px;height:28px}.ark-desktop-rail>button:hover{background:#143244}.ark-desktop-rail>button.active{background:#efd08412;border-color:#d5b26a42;color:#f8d58c}.ark-desktop-rail>button.ark-rail-publish{margin-top:16px;background:#efce83;color:#112938;font-weight:700}.ark-desktop-rail .social-badge{margin-left:auto;font-size:11px}
 .profile-container,.hero-and-stories-wrapper,.main-content{width:calc(100% - 262px)!important;margin-left:238px!important;margin-right:24px!important;box-sizing:border-box;max-width:1450px}
 .main-content{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(320px,26vw,380px)!important;gap:22px!important}
 .social-home-left{display:none!important}.social-home-feed{grid-column:1!important;grid-row:1!important;min-width:0}.social-home-right{grid-column:2!important;grid-row:1!important;min-width:0}
 .social-profile-grid{grid-template-columns:minmax(0,1fr) 285px;gap:22px}.profile-header-card{padding-bottom:24px}
 .ark-profile-friends{width:max-content;max-width:100%;min-width:220px}
}
@media(min-width:851px) and (max-width:1150px){.ark-desktop-rail{width:166px;left:12px}.profile-container,.hero-and-stories-wrapper,.main-content{width:calc(100% - 214px)!important;margin-left:196px!important;margin-right:18px!important}.main-content{grid-template-columns:minmax(0,1fr)!important}.social-home-right{display:none!important}.social-profile-grid{grid-template-columns:minmax(0,1fr) 255px;gap:16px}#profile-publications .ark-publications-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:850px){
 .social-mobile-nav{padding-top:6px!important;background:#0b2231f2!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
 .social-header .social-header-tools{gap:4px}.social-header .social-icon-button{width:44px!important;min-width:44px;min-height:44px;height:44px!important}.social-mobile-settings{display:none!important}.social-user-menu summary{min-height:44px;min-width:44px;justify-content:center}.social-user-menu summary .social-icon{display:none}
 .ark-profile-shortcuts{box-shadow:0 5px 14px #0003!important}.profile-container[data-profile-section] .ark-profile-shortcuts button{min-height:57px}
 #profile-publications{padding:12px!important;border-radius:18px!important}#profile-publications .ark-publications-grid{gap:10px!important}.social-publications-head{gap:10px;flex-wrap:wrap}.social-publications-head h2{font-size:26px!important}.publications-tab{min-height:48px;font-size:14px!important}
 .ark-publish-launch{padding:15px;margin-bottom:16px}.ark-publish-launch small{font-size:12px}
 .ark-connection-status{bottom:86px;font-size:12px;max-width:calc(100% - 24px)}.ark-new-posts-anchor{top:78px}
 #social-modal .modal-box{padding:20px!important;border-radius:22px;max-height:calc(100dvh - 28px)}.social-modal-head h2{font-size:26px!important}.social-field{font-size:14px!important}.ark-compose-dialog-actions .ark-location-editor{max-width:100%}
 .ark-post-actions{gap:2px!important}.ark-post-actions .ark-shield{min-width:64px}.ark-post-actions .ark-post-count{min-width:30px}.social-post-footer{gap:8px;flex-wrap:wrap}.social-post-footer>button{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.ark-shield-celebrate,.ark-operation-status[data-busy=true]::before{animation:none}}
[hidden]{display:none!important}

#ark-modal-post-extras .ark-shield::after{content:"Premia";font:600 14px var(--ui-font,system-ui);margin-left:8px}#ark-modal-post-extras .ark-shield[data-awarded=true]::after{content:"Premiato"}

/* Profile pages: the top titles select one full-width destination. */
.profile-container[data-profile-section] .ark-profile-shortcuts{position:sticky;top:var(--ark-profile-header-offset,80px);z-index:1050;background:#0b2332f5;border-color:#36586a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.profile-container[data-profile-section] .ark-profile-shortcuts button[data-active=true]{color:#ffdc90;background:#f1cc7914;box-shadow:inset 0 -2px #e9bf65}
.profile-container[data-profile-section] .social-profile-grid{display:block;min-height:calc(100dvh - var(--ark-profile-header-offset,80px) - var(--ark-profile-tabs-height,69px) - var(--ark-profile-bottom-offset,0px) - 16px)}
.profile-container[data-profile-section] .social-profile-side{display:block;width:100%;min-width:0}
.profile-container[data-profile-section=posts] .social-profile-side{display:none}
.profile-container[data-profile-section]:not([data-profile-section=posts]) .social-profile-main{display:none}
.profile-container[data-profile-section] .social-profile-side>[data-profile-panel]{display:none;margin:0;width:100%;box-sizing:border-box}
.profile-container[data-profile-section=pedigree] #profile-information,
.profile-container[data-profile-section=adoptions] #adoptions-profile:not([hidden]),
.profile-container[data-profile-section=community] #profile-community{display:block}
.profile-container[data-profile-section] [data-profile-panel]{scroll-margin-top:calc(var(--ark-profile-header-offset,80px) + var(--ark-profile-tabs-height,69px) + 12px)}
@media(min-width:851px){
 .profile-container[data-profile-section] .ark-profile-shortcuts button{min-height:50px;font-size:14px}
 .profile-container[data-profile-section] #profile-information,.profile-container[data-profile-section] #profile-community,.profile-container[data-profile-section] #adoptions-profile{padding:26px}
 .profile-container[data-profile-section] #profile-information .social-info-row{max-width:760px;min-height:42px;font-size:16px}
 .profile-container[data-profile-section] #profile-information>.social-button{width:auto;min-width:200px}
 .profile-container[data-profile-section] #profile-community .forum-panel-title{font-size:30px!important}
 .profile-container[data-profile-section] #profile-community .panel-title-block>p{display:block;font-size:14px!important;line-height:1.6}
 .profile-container[data-profile-section] #profile-community .ark-forum-link{width:auto;min-width:220px}
 .profile-container[data-profile-section] #adoptions-profile .ark-adoption-head{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
 .profile-container[data-profile-section] #adoptions-profile .ark-adoption-bottom{flex-direction:row;flex-wrap:wrap;gap:12px}
 .profile-container[data-profile-section] #adoptions-profile .ark-own-ad{flex-basis:calc((100% - 12px)/2);min-width:280px}
 .profile-container[data-profile-section] #profile-publications .ark-publications-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:851px) and (max-width:1100px){.profile-container[data-profile-section] #profile-publications .ark-publications-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
