/* TellJar 1.10.90 – final mobile cleanup (loaded last) */
/* 1. Header: wordmark kerning, compact controls */
.brandName{letter-spacing:0!important;white-space:nowrap}
.brandName .jarWord{margin-left:.05em}
@media(max-width:560px){
 .brandName{display:inline-flex!important;font-size:18px!important}
 .nav{gap:5px!important}
 .jarMenuBtn{max-width:44px!important;min-width:44px!important;padding:0!important;justify-content:center!important;gap:2px!important}
 #jarMenuLabel{display:none!important}
 .navBtn,#langBtn,.accountBtn,.noAdsTop,.supportTop{min-height:42px;height:42px!important}
}
@media(max-width:350px){.brandName{display:none!important}}
/* 2. Floating "Odkryte sekrety" widget never covers buttons on phones */
@media(max-width:900px){.tjDiscoveryProgress{display:none!important}}
/* 3. Creator modal */
.addSheet .noteComposeGrid{display:block!important}
.addSheet .notePreviewSide{display:block!important;position:static!important;margin:16px 0 4px;padding:14px;border-radius:20px}
.addSheet .modalCardPreview{width:min(100%,300px)!important;min-height:230px!important;margin:10px auto 12px!important;box-sizing:border-box}
.addSheet .modalCardPreview p{overflow-wrap:break-word;word-break:normal!important;hyphens:auto;-webkit-hyphens:auto}
.addSheet .noteInboxHint{width:auto!important;margin:0!important;text-align:center}
.addSheet .composerConsent .checkLabel{display:block!important;font-size:13px;font-weight:600;line-height:1.55;color:#4a6877}
.addSheet .composerConsent .checkLabel input{float:left;margin:3px 10px 0 0;width:20px;height:20px}
.addSheet .composerConsent .checkLabel a{display:inline!important;color:#0d668c;font-weight:800}
.addSheet .composerConsent{padding:12px 14px!important}
.addSheet .themeFieldHead{gap:8px;align-items:baseline}
.addSheet .photoHead>div{display:flex;flex-direction:column;gap:2px}
.addSheet .photoHead b{display:block}
.addSheet .photoAction{white-space:normal;line-height:1.25;min-height:44px}
.addSheet input[type=range]{width:100%;accent-color:#2b83b7}
.addSheet .sheetHead{position:sticky;top:0;z-index:5;background:#fff}
/* 4. Share button: exact TellJar jar icon */
#shareBtn svg,.shareCustomCardBtn svg{display:none!important}
#shareBtn::before,.shareCustomCardBtn::before{content:"";display:inline-block;width:26px;height:26px;margin-right:8px;vertical-align:middle;border-radius:0;background:url(/assets/telljar-share-jar-cutout-96.png) center/contain no-repeat}
#shareBtn{display:inline-flex;align-items:center;justify-content:center}
.shareCustomCardBtn{display:flex!important;align-items:center;justify-content:center}
/* 5. Safe areas / overflow */
html,body{overflow-x:hidden}
.overlay .sheet{padding-bottom:max(18px,env(safe-area-inset-bottom))}

/* wordmark: no ligature glitch (lJ) in headings */
h1,h2,h3,h4,.brandName,.sheetHead h3{font-variant-ligatures:none;font-feature-settings:'liga' 0,'clig' 0,'calt' 0;letter-spacing:0}

/* ===== 1.10.92: kerning/ligatures off everywhere (TellJar read as "TelUar") ===== */
html,body,button,input,textarea,select{font-kerning:none;font-variant-ligatures:none;font-feature-settings:"kern" 0,"liga" 0,"clig" 0,"calt" 0}
/* ===== mode switch (Ogolny / Kobiety / Mezczyzni) ===== */
.tjModeBar{display:none}
@media(max-width:760px){
 .tjModeBar{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:10px 14px 0;padding:4px;border-radius:18px;background:rgba(255,255,255,.82);border:1px solid #cfe2e9;box-shadow:0 6px 18px rgba(24,70,90,.08)}
 .tjModeBar button{min-height:46px;border:0;border-radius:14px;background:transparent;font-family:inherit;font-weight:800;font-size:14px;line-height:1.1;color:#456a7c;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 6px;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .tjModeBar button i{width:10px;height:10px;border-radius:50%;flex:none;background:#2b83b7}
 .tjModeBar button[data-jar=women] i{background:#d9567a}
 .tjModeBar button[data-jar=men] i{background:#1d3f6e}
 .tjModeBar button[aria-pressed=true]{background:#fff;color:#0f3347;box-shadow:0 3px 10px rgba(24,70,90,.18),inset 0 0 0 2px #2b83b7}
 .tjModeBar button[data-jar=women][aria-pressed=true]{box-shadow:0 3px 10px rgba(24,70,90,.18),inset 0 0 0 2px #d9567a}
 .tjModeBar button[data-jar=men][aria-pressed=true]{box-shadow:0 3px 10px rgba(24,70,90,.18),inset 0 0 0 2px #1d3f6e}
 .jarSwitcherWrap{display:none!important}
}
/* ===== phone layout: buttons above the fold, room for Safari bottom bar ===== */
@media(max-width:560px){
 body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 .hero h1{font-size:clamp(30px,9vw,40px)!important;line-height:1.02!important;margin-bottom:8px!important}
 .jarArea{min-height:0!important;padding:4px 0 0!important}
 .jarStage{width:min(270px,66vw)!important}
 .heroCtas .btn,.heroCtas button{min-height:52px}
 .navBtn,.btn{min-height:44px}
}
@media(max-width:560px) and (max-height:760px){.jarStage{width:min(230px,58vw)!important}}
@media(max-width:560px){.heroContext{display:none!important}.tjModeBar{margin-top:8px}.tjModeBar button{font-size:14px}}

/* ===== 1.10.94: phone header = logo + flag + account + MENU; full-screen menu ===== */
.tjMenuBtn{display:none}
.tjVer{margin-left:auto;font-weight:800;font-size:12px;opacity:.7;letter-spacing:.02em}
body.tjMenuOpen{overflow:hidden}
@media(max-width:900px){
 .topbar .nav{flex-wrap:nowrap!important;gap:6px!important}
 .countryTop,.jarSwitcherWrap,.contentNav,#adminNav{display:none!important}
 #langBtn .langFullName,#langBtn>svg{display:none!important}
 #langBtn{min-width:46px!important;padding:0 10px!important;justify-content:center!important}
 .accountBtn .label{display:none!important}
 .tjMenuBtn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;height:42px;min-width:44px;padding:0 14px;border-radius:14px;border:1px solid #cfe2e9;background:#fff;color:#0f3347;font:inherit;font-weight:900;font-size:13px;letter-spacing:.06em;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .tjBurger{display:inline-flex;flex-direction:column;gap:4px;width:18px}
 .tjBurger i{display:block;height:2.5px;border-radius:2px;background:#0f3347}
}
@media(max-width:350px){.tjMenuBtn span:last-child{display:none}}
.tjMenu{position:fixed;inset:0;z-index:100000;display:none;flex-direction:column;background:linear-gradient(180deg,#f2f9fc,#dcecf4);overscroll-behavior:contain}
.tjMenu.show{display:flex}
.tjMenuTop{display:flex;align-items:center;justify-content:space-between;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;border-bottom:1px solid #cfe2e9;background:rgba(255,255,255,.7)}
.tjMenuBrand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;color:#0f3347;text-decoration:none}
.tjMenuBrand img{width:40px;height:40px;border-radius:12px}
.tjMenuClose{width:46px;height:46px;border-radius:14px;border:1px solid #cfe2e9;background:#fff;font-size:26px;line-height:1;color:#0f3347;cursor:pointer}
.tjMenuBody{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 14px calc(28px + env(safe-area-inset-bottom))}
.tjMenu h4{margin:18px 4px 8px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5d7f8f}
.tjMenu .tjRow{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;box-sizing:border-box;min-height:52px;margin:0 0 8px;padding:0 16px;border-radius:16px;border:1px solid #cfe2e9;background:#fff;color:#0f3347;font:inherit;font-weight:800;font-size:16px;text-align:left;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tjMenu .tjRow::after{content:"\203A";font-size:22px;opacity:.45}
.tjMenu .tjRow img.langFlag{width:24px;height:auto;border-radius:3px;margin-right:8px;vertical-align:middle}
.tjMenu .tjRow.tjAccent{background:linear-gradient(135deg,#0d7aa8,#2b83b7);border-color:transparent;color:#fff}
.tjMenu .tjRow.tjAccent::after{opacity:.8}
.tjMenu .tjModes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:6px}
.tjMenu .tjModes button{min-height:50px;border-radius:14px;border:1px solid #cfe2e9;background:#fff;font:inherit;font-weight:800;font-size:14px;color:#456a7c;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 4px;cursor:pointer}
.tjMenu .tjModes button i{width:10px;height:10px;border-radius:50%;background:#2b83b7;flex:none}
.tjMenu .tjModes button[data-jar=women] i{background:#d9567a}
.tjMenu .tjModes button[data-jar=men] i{background:#1d3f6e}
.tjMenu .tjModes button[aria-pressed=true]{color:#0f3347;background:#fff;box-shadow:inset 0 0 0 2px #2b83b7}
.tjMenu .tjModes button[data-jar=women][aria-pressed=true]{box-shadow:inset 0 0 0 2px #d9567a}
.tjMenu .tjModes button[data-jar=men][aria-pressed=true]{box-shadow:inset 0 0 0 2px #1d3f6e}
.tjMenuVer{margin:22px 4px 0;text-align:center;font-size:13px;font-weight:800;color:#5d7f8f}

/* ===== 1.10.95: heart + no-ads icons in the phone header, custom amount, wordmark ===== */
@media(max-width:900px){
 .topbar .nav{justify-content:flex-start}
 .navSpacer{flex:1 1 0;min-width:0}
 .supportTop,.noAdsTop{display:inline-flex!important;align-items:center;justify-content:center;width:42px;min-width:42px;max-width:42px;height:42px!important;padding:0!important;gap:0!important;order:80}
 .supportTop span,.noAdsTop span{display:none!important}
 .supportTop svg,.noAdsTop svg{width:21px;height:21px;margin:0}
 .supportTop{order:81;color:#d9567a}
 .tjMenuBtn{order:99}
 #langBtn{order:70}.accountBtn{order:75}
}
@media(max-width:389px){.noAdsTop{display:none!important}}
#amounts button[data-amount=custom]{grid-column:1/-1}
.tjMenuBtn{flex:0 0 auto!important}
.tjBurger{flex:0 0 18px!important;min-width:18px}
@media(max-width:900px){.tjMenuBtn{padding:0 12px!important;gap:7px!important}}
@media(max-width:399px){.noAdsTop{display:none!important}}
@media(max-width:900px){.topbar .nav .navSpacer{display:block!important;flex:1 1 0!important;min-width:0!important;order:60}.topbar .nav .brand{order:0;flex:0 0 auto}}
