/* TY Spa signed-in client app (v1.11). Clean app layout, scoped to .tym-page. */
.tym-page,.tym{--br:#5b4033;--br2:#6b5143;--br3:#7a5f50;--cream:#efe7dc;--card:#fff;--ink:#3b2a22;--mute:#8a776b;--gold:#e8cfa6;--mine:#dfe7d6}
.tym-page{ display:block;max-width:560px;margin:0 auto;padding:12px 12px 32px;background:transparent;color:var(--ink);font:16px/1.45 Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;text-align:left}
.tym-page *{box-sizing:border-box}
.tym-page a{text-decoration:none!important}
.tym-page button{font-family:inherit;letter-spacing:normal;text-transform:none}
.tym-page svg{display:block;flex:none}
.tym{background:var(--cream);border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(30,15,8,.25)}

/* Header + tiles */
.tym-top{background:var(--br);padding:16px 14px 14px;color:#fff}
.tym-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.tym-brand{display:flex;flex-direction:column;color:var(--gold)!important;line-height:1}
.tym-brand b{font:700 30px/1 Georgia,serif;letter-spacing:.5px}
.tym-brand span{margin-top:6px;font:500 12px/1 Roboto,system-ui,sans-serif;letter-spacing:.9px;text-transform:uppercase;color:#e9dccb}
.tym-acts{display:flex;align-items:center;gap:4px}
.tym-acts form{margin:0;padding:0;display:contents}
.tym-ico{display:grid;place-items:center;width:42px;height:42px;padding:0!important;margin:0;border:0!important;border-radius:12px!important;background:transparent!important;color:#f3e7d6!important;box-shadow:none!important;cursor:pointer;min-height:0}
.tym-ico:hover,.tym-ico:focus-visible{background:rgba(255,255,255,.1)!important}
.tym-ico svg{width:21px;height:21px}
.tym-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.tym-tiles a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:72px;padding:10px 4px;border-radius:12px;background:var(--br2);color:#fff!important;font:500 13px/1.1 Roboto,system-ui,sans-serif;text-align:center;transition:background .15s}
.tym-tiles a:hover{background:var(--br3)}
.tym-tiles a.on{background:var(--gold);color:var(--br)!important}
.tym-tiles svg{width:22px;height:22px}

/* Sub-page bar */
.tym-body{min-height:200px}
.tym-bar{display:flex;align-items:center;gap:6px;padding:10px 10px;background:var(--br2);color:#fff}
.tym-bar h2{margin:0!important;padding:0;font:600 18px/1.2 Roboto,system-ui,sans-serif!important;color:#fff!important;background:none!important;-webkit-text-fill-color:#fff}
.tym-bar h2:after{display:none!important}
.tym-back{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#fff!important}
.tym-back:hover{background:rgba(255,255,255,.1)}
.tym-pad{padding:14px}

/* Lists */
.tym-item,.tym-doc{display:flex;align-items:center;gap:12px;padding:14px;margin-bottom:10px;background:var(--card);border-radius:14px;box-shadow:0 1px 2px rgba(60,35,20,.08)}
.tym-item>div,.tym-doc>div{flex:1;min-width:0}
.tym-item strong{display:block;font:600 15px/1.3 Roboto,system-ui,sans-serif;color:var(--ink)}
.tym-item span,.tym-item small,.tym-doc small{display:block;margin-top:3px;font-size:13px;color:var(--mute)}
.tym-doc svg{width:36px;height:36px;padding:7px;border-radius:10px;background:#f4ebe0;color:#8a4b3c}
.tym-doc a{display:block;font:600 15px/1.3 Roboto,system-ui,sans-serif;color:var(--ink)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tym-chip{flex:none;padding:8px 12px;border-radius:999px;border:1px solid #d9c6b0;color:var(--br)!important;font:600 13px/1 Roboto,system-ui,sans-serif;background:#fbf7f1}
.tym-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:36px 12px;text-align:center;color:var(--mute)}
.tym-empty svg{width:40px;height:40px;color:#b39a86}
.tym-empty p{margin:4px 0 10px;font-size:15px}
.tym-btn{display:inline-block;padding:12px 22px;border-radius:999px;background:var(--br);color:#fff!important;font:600 15px/1 Roboto,system-ui,sans-serif}
.tym-note{margin:0 0 12px;color:var(--mute);font-size:14px}
.tym-nudge{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:12px 16px;background:#f7ecd8;border-bottom:1px solid #eadcc6;color:var(--br)!important;font:600 14px/1.2 Roboto,system-ui,sans-serif}
.tym-nudge b{font-size:22px;line-height:1}

/* Simple forms (PIN) */
.tym-form form{margin:0}
.tym-form details{margin:0}
.tym-form summary{display:none}
.tym-form label{display:block;font:600 14px Roboto,system-ui,sans-serif;color:var(--ink)}
.tym-form input{display:block;width:100%;margin:8px 0 12px;padding:12px 14px;border:1px solid #d9c6b0;border-radius:12px;background:#fff;font:16px Roboto,system-ui,sans-serif;color:var(--ink)}
.tym-form button{width:100%;padding:13px;border:0;border-radius:999px;background:var(--br);color:#fff;font:600 15px Roboto,system-ui,sans-serif;cursor:pointer}

/* Rewards: calm down the offer card's own styles */
.tym-offers *{all:revert}
.tym-offers{font:15px/1.45 Roboto,system-ui,sans-serif;color:var(--ink)}
.tym-offers section,.tym-offers div{background:transparent;border:0;box-shadow:none;margin:0;padding:0;text-align:left}
.tym-offers h2,.tym-offers h3{margin:0 0 10px;font:600 17px/1.3 Roboto,system-ui,sans-serif;color:var(--ink)}
.tym-offers h2:after,.tym-offers h3:after{display:none}
.tym-offers p,.tym-offers small{margin:4px 0;color:var(--mute);font-size:13px}
.tym-offers article,.tym-offers li,.tym-offers label,.tym-offers [class*=card],.tym-offers [class*=offer-item]{display:block;margin:0 0 10px;padding:14px;background:#fff;border-radius:14px;box-shadow:0 1px 2px rgba(60,35,20,.08);list-style:none}
.tym-offers ul{margin:0;padding:0}
.tym-offers button,.tym-offers a{display:inline-block;margin-top:8px;padding:10px 18px;border:1px solid #d9c6b0;border-radius:999px;background:#fbf7f1;color:var(--br);font:600 14px/1 Roboto,system-ui,sans-serif;text-decoration:none;cursor:pointer}

/* Chat */
.tym .tycc-wa{display:flex;flex-direction:column;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--cream)!important;box-shadow:none!important;max-width:none!important}
.tym .tycc-wa-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0!important;padding:12px 14px!important;background:var(--br2)!important;border:0!important;border-radius:0!important;color:#fff}
.tym .tycc-wa-contact{display:flex;align-items:center;gap:12px;min-width:0}
.tym .tycc-wa-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:0;flex:none}
.tym .tycc-wa-contact h2{margin:0!important;padding:0;font:600 17px/1.2 Roboto,system-ui,sans-serif!important;color:#fff!important;background:none!important;-webkit-text-fill-color:#fff;text-align:left}
.tym .tycc-wa-contact h2:after{display:none!important}
.tym .tycc-wa-sub{display:block;margin-top:3px;font-size:13px;color:#e4d6c6}
.tym .tycall{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.tym .tycall button{min-height:40px;padding:8px 12px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:600 14px Roboto,system-ui,sans-serif;box-shadow:none;cursor:pointer}
.tym .tycall button[data-start]{width:42px;height:42px;padding:0;font-size:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center no-repeat}
.tym .tycall button[data-start]:hover{background-color:rgba(255,255,255,.1)}
.tym .tycall [data-callbox],.tym .tycall [data-diagnostics]{flex-basis:100%;margin:6px 0 0;font-size:13px;color:#fff}
.tym .tycall [hidden]{display:none!important}
.tym .tycc-scroll{max-height:56vh;min-height:220px;overflow-y:auto;padding:14px 12px!important;background:var(--cream)!important;border:0!important;margin:0!important}
.tym .tycc-wa-encryption{width:fit-content;max-width:92%;margin:0 auto 12px!important;padding:6px 12px!important;border-radius:10px!important;background:#f8f0e2!important;border:0!important;color:#7c6a5d!important;font-size:12.5px!important;text-align:center;box-shadow:none!important}
.tym .tycc-message{position:relative;width:fit-content;max-width:84%;margin:0 0 8px!important;padding:9px 12px 6px!important;border:0!important;border-radius:14px!important;background:var(--card)!important;color:var(--ink)!important;box-shadow:0 1px 1.5px rgba(60,35,20,.12)!important;transform:none!important;animation:none!important}
.tym .tycc-message.theirs{margin-right:auto!important;border-top-left-radius:4px!important}
.tym .tycc-message.mine{margin-left:auto!important;background:var(--mine)!important;border-top-right-radius:4px!important}
.tym .tycc-bubble-top{display:none}
.tym .tycc-message:has(.tycc-kind-tag) .tycc-bubble-top{display:block;margin-bottom:4px}
.tym .tycc-bubble-top strong{display:none}
.tym .tycc-kind-tag{display:inline-block;padding:2px 8px;border-radius:999px;background:rgba(91,64,51,.12);color:var(--br);font:600 11px/1.5 Roboto,system-ui,sans-serif}
.tym .tycc-message p{margin:0!important;font:15.5px/1.4 Roboto,system-ui,sans-serif!important;color:var(--ink)!important;overflow-wrap:anywhere}
.tym .tycc-message p a{color:#7b3f31!important;font-weight:600}
.tym .tycc-message audio{display:block;width:230px;max-width:100%;height:38px}
.tym .tycc-meta{display:block;margin-top:3px;text-align:right;font-size:11.5px!important;color:#8e7e72!important}
.tym .tycc-ticks{color:#8e7e72}.tym .tycc-ticks.seen{color:#3f8fd6}
.tym .tycc-typing{margin:4px 0;font-size:13px;color:var(--mute)}
.tym .tycc-typing[hidden],.tym .tycc-new-pill[hidden]{display:none!important}
.tym .tycc-new-pill{position:sticky;bottom:6px;display:block;margin:6px auto 0;padding:7px 14px;border:0;border-radius:999px;background:var(--br);color:#fff;font:600 13px Roboto,system-ui,sans-serif;box-shadow:0 4px 10px rgba(0,0,0,.2);cursor:pointer}

/* Composer */
.tym .tycc-wa form{margin:0!important;padding:8px 10px 10px!important;background:var(--cream)!important;border:0!important;border-top:1px solid #e3d7c8!important;box-shadow:none!important}
.tym .tycc-wa-chips{display:flex;flex-wrap:nowrap;gap:6px;margin:0 0 8px!important;padding:0 0 2px!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tym .tycc-wa-chips::-webkit-scrollbar{display:none}
.tym .tycc-wa-chips .tycc-chip{flex:none;min-height:0!important;padding:7px 13px!important;margin:0!important;border:1px solid #dccbb7!important;border-radius:999px!important;background:#fbf7f1!important;color:#6b5143!important;font:500 13px/1.1 Roboto,system-ui,sans-serif!important;box-shadow:none!important;transform:none!important;width:auto!important;cursor:pointer}
.tym .tycc-wa-chips .tycc-chip.active{background:var(--br)!important;border-color:var(--br)!important;color:#fff!important}
.tym .tycc-wa-bar{display:flex!important;align-items:flex-end;gap:8px;margin:0!important;padding:0!important;background:none!important;border:0!important}
.tym .tycc-wa-bar textarea{flex:1;min-width:0;display:block;min-height:44px;max-height:120px;margin:0!important;padding:11px 14px!important;border:1px solid #e0d3c4!important;border-radius:22px!important;background:#fff!important;color:var(--ink)!important;font:16px/1.35 Roboto,system-ui,sans-serif!important;resize:none;box-shadow:none!important;order:3}
.tym .tycc-wa-bar textarea:focus{outline:0;border-color:#b99a7e!important}
.tym .tycc-wa-icon{display:grid!important;place-items:center;flex:none;width:36px;height:44px;margin:0!important;padding:0!important;border:0!important;background:none!important;color:#7a6253!important;box-shadow:none!important;cursor:pointer}
.tym .tycc-wa-icon:first-child{order:1}.tym .tycc-wa-icon:nth-child(2){order:2;margin-left:-6px!important}
.tym .tycc-wa-icon svg{width:21px;height:21px}
.tym .tycc-wa-mic,.tym .tycc-wa-send{display:grid!important;place-items:center;flex:none;width:44px!important;height:44px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;color:#fff!important;box-shadow:none!important;transform:none!important;cursor:pointer}
.tym .tycc-wa-mic{order:4;background:var(--br3)!important}
.tym .tycc-wa-send{order:5;background:var(--br)!important}
.tym .tycc-wa-mic svg,.tym .tycc-wa-send svg{width:19px;height:19px}
.tym .tycc-wa-status-row{display:flex;justify-content:space-between;gap:8px;margin:0!important;font-size:12.5px;color:var(--mute)}
.tym .tycc-wa-status-row:empty,.tym .tycc-wa-status-row span:empty{display:none}
.tym .tycc-wa-status-row span:not(:empty){margin-top:6px}
.tym .tycc-push-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:0!important;padding:4px 10px 12px!important;background:var(--cream);text-align:center}
.tym .tycc-push-row button{min-height:0!important;padding:7px 12px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#6b5143!important;font:600 13px Roboto,system-ui,sans-serif!important;box-shadow:none!important;width:auto!important;cursor:pointer}
.tym .tycc-push-row button:hover{background:#f4eadc!important}
.tym .tycc-push-row [data-tycc-push-status]{font-size:12.5px;color:var(--mute)}

/* Install strip */
.tym-install{display:flex;align-items:center;gap:12px;margin:12px 0 0;padding:12px 14px;background:#fbf6ef;border-radius:16px;color:var(--ink);box-shadow:0 6px 18px rgba(30,15,8,.18)}
.tym-install img{width:40px;height:40px;border-radius:10px;flex:none}
.tym-install div{flex:1;min-width:0}
.tym-install strong{display:block;font:600 15px/1.25 Roboto,system-ui,sans-serif}
.tym-install span{display:block;margin-top:2px;font-size:13px;color:var(--mute)}
.tym-install [data-ty-help]{margin:4px 0 0;font-size:12.5px;color:var(--mute)}
.tym-install button{flex:none;padding:10px 18px;border:0;border-radius:999px;background:var(--br);color:#fff;font:600 14px/1 Roboto,system-ui,sans-serif;cursor:pointer}
.tym-install button[hidden]{display:none}
@media (display-mode: standalone){.tym-install{display:none}}

@media (min-width:600px){.tym-page{padding-top:24px}}
@media (prefers-reduced-motion:reduce){.tym-page *{transition:none!important}}

/* Chat polish */
.tym .tycc-wa-chips{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-right:24px!important}
.tym .tycc-wa-bar textarea{white-space:nowrap;overflow:hidden}
.tym .tycc-wa-bar textarea:focus,.tym .tycc-wa-bar textarea:not(:placeholder-shown){white-space:pre-wrap;overflow:auto}
.tym .tycc-wa-bar textarea::placeholder{color:#a3938a}
/* File messages look like a document card */
.tym .tycc-message:has(p>a:only-child:not(.tym-photo):not(.tym-filecard)){min-width:min(260px,84%);padding:10px 12px 6px!important}
.tym .tycc-message p>a:only-child:not(.tym-photo):not(.tym-filecard){display:grid;grid-template-columns:40px 1fr 22px;align-items:center;column-gap:10px;color:var(--ink)!important;font:600 15px/1.3 Roboto,system-ui,sans-serif!important;text-decoration:none!important}
.tym .tycc-message p>a:only-child:not(.tym-photo):not(.tym-filecard):before{content:"";grid-row:span 2;width:40px;height:40px;border-radius:10px;background:#f4ebe0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238a4b3c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E") center no-repeat}
.tym .tycc-message p>a:only-child:not(.tym-photo):not(.tym-filecard):after{content:"Tap to open";grid-column:2;font:400 13px/1.3 Roboto,system-ui,sans-serif;color:var(--mute)}
.tym .tycc-message.mine p>a:only-child:not(.tym-photo):not(.tym-filecard):before{background-color:#eef3e8}
/* Voice notes */
.tym .tycc-message:has(audio){padding:8px 10px 6px!important}
.tym .tycc-message audio{width:240px;height:40px;border-radius:20px}

/* 3D depth to match the rest of TY Spa */
.tym{box-shadow:0 2px 0 rgba(255,255,255,.06) inset,0 18px 40px rgba(20,8,4,.45),0 4px 10px rgba(20,8,4,.25)}
.tym-top{background:linear-gradient(180deg,#664839,#553b2f)}
.tym-tiles a{background:linear-gradient(180deg,#7a5e4f,#634a3d);box-shadow:0 5px 0 #3f2a20,0 10px 16px rgba(20,8,4,.35),inset 0 1px 0 rgba(255,255,255,.12);transform:translateY(0);transition:transform .12s,box-shadow .12s,background .15s;margin-bottom:5px}
.tym-tiles a:hover{background:linear-gradient(180deg,#86695a,#6c5244)}
.tym-tiles a:active{transform:translateY(4px);box-shadow:0 1px 0 #3f2a20,0 3px 6px rgba(20,8,4,.3),inset 0 1px 0 rgba(255,255,255,.12)}
.tym-tiles a.on{background:linear-gradient(180deg,#f4dcb2,#d9b47c);color:#4a2f22!important;box-shadow:0 5px 0 #a07a45,0 10px 16px rgba(20,8,4,.35),inset 0 1px 0 rgba(255,255,255,.5)}
.tym-tiles a.on:active{box-shadow:0 1px 0 #a07a45,0 3px 6px rgba(20,8,4,.3)}
.tym-ico{transition:transform .12s}.tym-ico:active{transform:scale(.92)}
.tym .tycc-wa-header{background:linear-gradient(180deg,#755a4b,#644b3e)!important;box-shadow:0 3px 8px rgba(40,20,10,.18);position:relative;z-index:2}
.tym .tycc-wa-avatar{box-shadow:0 3px 0 #3f2a20,0 6px 10px rgba(0,0,0,.25)}
.tym .tycall button[data-start]{background-color:rgba(255,255,255,.1)!important;box-shadow:0 4px 0 #3f2a20,inset 0 1px 0 rgba(255,255,255,.15);transition:transform .12s,box-shadow .12s}
.tym .tycall button[data-start]:active{transform:translateY(3px);box-shadow:0 1px 0 #3f2a20}
.tym .tycc-message{box-shadow:0 2px 0 rgba(60,35,20,.10),0 6px 14px rgba(60,35,20,.10)!important}
.tym .tycc-message.mine{box-shadow:0 2px 0 rgba(70,95,55,.18),0 6px 14px rgba(60,35,20,.10)!important}
.tym .tycc-wa-chips{padding-bottom:6px!important}
.tym .tycc-wa-chips .tycc-chip{box-shadow:0 3px 0 #d6c3ac!important;transition:transform .1s,box-shadow .1s}
.tym .tycc-wa-chips .tycc-chip:active{transform:translateY(2px)!important;box-shadow:0 1px 0 #d6c3ac!important}
.tym .tycc-wa-chips .tycc-chip.active{background:linear-gradient(180deg,#6e5242,#553b2f)!important;box-shadow:0 3px 0 #2f1f17!important}
.tym .tycc-wa-bar textarea{box-shadow:inset 0 2px 4px rgba(60,35,20,.08)!important}
.tym .tycc-wa-mic,.tym .tycc-wa-send{margin-bottom:4px!important;transition:transform .12s,box-shadow .12s}
.tym .tycc-wa-mic{background:linear-gradient(180deg,#8d7060,#735a4b)!important;box-shadow:0 4px 0 #4a3227,0 8px 14px rgba(40,20,10,.3)!important}
.tym .tycc-wa-send{background:linear-gradient(180deg,#f4dcb2,#d4a865)!important;color:#4a2f22!important;box-shadow:0 4px 0 #9a7038,0 8px 14px rgba(40,20,10,.3)!important}
.tym .tycc-wa-mic:active,.tym .tycc-wa-send:active{transform:translateY(3px)!important}
.tym .tycc-wa-mic:active{box-shadow:0 1px 0 #4a3227!important}.tym .tycc-wa-send:active{box-shadow:0 1px 0 #9a7038!important}
.tym .tycc-wa-icon{transition:transform .12s}.tym .tycc-wa-icon:active{transform:scale(.9)}
.tym-item,.tym-doc{box-shadow:0 3px 0 rgba(60,35,20,.08),0 8px 16px rgba(60,35,20,.10)}
.tym-chip{box-shadow:0 3px 0 #d6c3ac;transition:transform .1s,box-shadow .1s}.tym-chip:active{transform:translateY(2px);box-shadow:0 1px 0 #d6c3ac}
.tym-btn,.tym-install button,.tym-form button{background:linear-gradient(180deg,#6e5242,#553b2f);box-shadow:0 4px 0 #2f1f17,0 8px 14px rgba(40,20,10,.3);transition:transform .12s,box-shadow .12s}
.tym-btn:active,.tym-install button:active,.tym-form button:active{transform:translateY(3px);box-shadow:0 1px 0 #2f1f17}
.tym-install{box-shadow:0 4px 0 rgba(60,35,20,.12),0 12px 24px rgba(20,8,4,.3)}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.tym-tiles a:hover{transform:translateY(-1px)}}
@media (prefers-reduced-motion:reduce){.tym-page *{transform:none!important}}

/* WhatsApp-style typing: box widens, mic swaps to send */
.tym .tycc-wa-bar textarea{transition:none}
.tym .tycc-wa-icon,.tym .tycc-wa-mic,.tym .tycc-wa-send{transition:transform .12s,box-shadow .12s,width .18s,opacity .18s,margin .18s}
.tym .tycc-wa form:not(.tym-has) .tycc-wa-send{width:0!important;opacity:0;margin-left:-8px!important;pointer-events:none;box-shadow:none!important}
.tym .tycc-wa form.tym-has .tycc-wa-mic{width:0!important;opacity:0;margin-left:-8px!important;pointer-events:none;box-shadow:none!important}
.tym .tycc-wa form.tym-typing .tycc-wa-icon:nth-child(2){width:0!important;opacity:0;margin-left:-8px!important;pointer-events:none}
.tym .tycc-wa form.tym-typing .tycc-wa-chips{display:none!important}
.tym .tycc-wa-bar{align-items:flex-end}
.tym .tycc-wa-mic{font-size:18px;line-height:1}
.tym:has(form.tym-typing) .tycc-push-row,.tym-page:has(form.tym-typing) .tym-install{display:none!important}
.tym:has(form.tym-typing) .tycc-wa form{padding-bottom:10px!important}

/* Owner app chat */
.tym{font-family:Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;text-align:left;color:var(--ink)}
.tym *{box-sizing:border-box}
.tym-staff{max-width:640px;margin:12px 0}
.tym-staff .tycc-scroll{max-height:62vh}

.tym .tym-initials{display:grid;place-items:center;background:linear-gradient(180deg,#f4dcb2,#d9b47c);color:#4a2f22;font:700 16px/1 Roboto,system-ui,sans-serif;letter-spacing:.5px}
.tym-staff .tycc-wa-status-row label{display:flex;align-items:center;gap:6px;margin:8px 0 0;color:var(--mute);font:500 13px Roboto,system-ui,sans-serif}
.tym-staff .tycc-wa-status-row input{width:16px;height:16px;margin:0;accent-color:#5b4033}

/* ===== v1.14 ===== */
/* Day labels */
.tym .tycc-day{display:flex;justify-content:center;margin:6px 0 10px}
.tym .tycc-day span{padding:4px 12px;border-radius:999px;background:#e4d7c6;color:#6f5c50;font:600 12px/1.4 Roboto,system-ui,sans-serif;box-shadow:0 1px 0 rgba(60,35,20,.08)}

/* Voice note player */
.tym .tym-voice{display:flex;align-items:center;gap:10px;min-width:210px;padding:2px 2px 0}
.tym .tym-vplay{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0 0 0 2px;border:0;border-radius:50%;background:linear-gradient(180deg,#6e5242,#553b2f);color:#fff;box-shadow:0 3px 0 #2f1f17;cursor:pointer;transition:transform .1s,box-shadow .1s}
.tym .tym-voice.playing .tym-vplay{padding-left:0}
.tym .tym-vplay:active{transform:translateY(2px);box-shadow:0 1px 0 #2f1f17}
.tym .tym-wave{display:flex;align-items:center;gap:2px;flex:1;height:30px;cursor:pointer}
.tym .tym-wave i{display:block;flex:1;min-width:2px;max-width:4px;border-radius:2px;background:#c9b6a5;transition:background .15s}
.tym .tym-wave i.on{background:#5b4033}
.tym .tycc-message.mine .tym-wave i{background:#b5c3a8}.tym .tycc-message.mine .tym-wave i.on{background:#4f6b45}
.tym .tym-vtime{flex:none;min-width:34px;font:500 12.5px Roboto,system-ui,sans-serif;color:var(--mute);text-align:right}

/* Mic while recording */
.tym .tycc-wa-mic.is-rec{background:linear-gradient(180deg,#d9534f,#b83a36)!important;box-shadow:0 4px 0 #7d2522,0 0 0 6px rgba(217,83,79,.18)!important;animation:tymPulse 1.2s ease-in-out infinite}
@keyframes tymPulse{50%{box-shadow:0 4px 0 #7d2522,0 0 0 10px rgba(217,83,79,.08)}}
.tym .tycc-wa form.tym-has .tycc-wa-mic.is-rec{width:44px!important;opacity:1;margin-left:0!important;pointer-events:auto}

/* Attachment preview */
.tym .tym-attach{display:flex;align-items:center;gap:10px;margin:0 0 8px;padding:8px 8px 8px 10px;border-radius:14px;background:#fff;box-shadow:0 2px 0 rgba(60,35,20,.08),0 4px 12px rgba(60,35,20,.08)}
.tym .tym-attach[hidden]{display:none}
.tym .tym-at-img{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none}
.tym .tym-at-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#f4ebe0;color:#8a4b3c;flex:none}
.tym .tym-at-ico.mic{background:#eef3e8;color:#4f6b45}
.tym .tym-at-txt{flex:1;min-width:0}
.tym .tym-at-txt b{display:block;font:600 14px/1.3 Roboto,system-ui,sans-serif;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tym .tym-at-txt small{display:block;font-size:12.5px;color:var(--mute)}
.tym .tym-at-x{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#f2e9de;color:#6b5143;font:400 22px/1 Roboto,system-ui,sans-serif;cursor:pointer}
.tym .tycc-wa form.tym-has-file [data-tycc-status]{display:none}

/* Chat options menu */
.tym .tycc-wa-actions{display:flex;align-items:center;gap:4px}
.tym .tym-menu{position:relative}
.tym .tym-menu summary{display:grid;place-items:center;width:38px;height:42px;border-radius:12px;color:#fff;cursor:pointer;list-style:none}
.tym .tym-menu summary::-webkit-details-marker{display:none}
.tym .tym-menu summary:hover,.tym .tym-menu[open] summary{background:rgba(255,255,255,.12)}
.tym .tym-menu-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:min(300px,82vw);padding:6px;border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(30,15,8,.3)}
.tym .tym-menu-pop form{margin:0;padding:0;border:0;background:none}
.tym .tym-switch-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:12px;background:transparent;text-align:left;cursor:pointer;color:var(--ink)}
.tym .tym-switch-row:hover{background:#f7f1e9}
.tym .tym-switch-row span{flex:1}
.tym .tym-switch-row b{display:block;font:600 15px/1.3 Roboto,system-ui,sans-serif}
.tym .tym-switch-row small{display:block;margin-top:3px;font:400 12.5px/1.4 Roboto,system-ui,sans-serif;color:var(--mute)}
.tym .tym-switch{position:relative;flex:none;width:46px;height:28px;border-radius:999px;background:#d8ccbf;box-shadow:inset 0 2px 3px rgba(0,0,0,.12);transition:background .2s}
.tym .tym-switch:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 0 rgba(0,0,0,.15);transition:transform .2s}
.tym .tym-switch.on{background:#5b4033}.tym .tym-switch.on:after{transform:translateX(18px)}

/* Call bar */
.tym .tycc-wa-header{flex-wrap:wrap}
.tym .tycc-wa-header:has([data-callbox]:not([hidden])) .tycc-wa-actions,.tym .tycc-wa-header:has([data-diagnostics]:not([hidden])) .tycc-wa-actions{flex-basis:100%;justify-content:flex-end}
.tym .tycall{flex:1;justify-content:flex-end}
.tym .tycall [data-callbox]:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin:6px 0 0;padding:10px 12px;border-radius:14px;background:rgba(0,0,0,.18)}
.tym .tycall [data-state]{flex:1;min-width:120px;margin:0;font:600 14px/1.3 Roboto,system-ui,sans-serif;color:#fff}
.tym .tycall [data-callbox] button{min-height:38px;padding:8px 16px;border-radius:999px;font:600 14px Roboto,system-ui,sans-serif;color:#fff;border:0;cursor:pointer;transition:transform .1s,box-shadow .1s}
.tym .tycall [data-accept]{background:linear-gradient(180deg,#4caf6d,#378a54);box-shadow:0 3px 0 #23603a}
.tym .tycall [data-mute]{background:rgba(255,255,255,.18);box-shadow:0 3px 0 rgba(0,0,0,.25)}
.tym .tycall [data-end]{background:linear-gradient(180deg,#d9534f,#b83a36);box-shadow:0 3px 0 #7d2522}
.tym .tycall [data-callbox] button:active{transform:translateY(2px);box-shadow:none}
.tym .tycall [data-diagnostics]:not([hidden]){width:100%;margin:6px 0 0;padding:8px 12px;border-radius:12px;background:rgba(0,0,0,.18);font:13px/1.4 Roboto,system-ui,sans-serif;color:#fff}

/* PIN lock screen */
.tym-lock{padding:0 0 22px;text-align:center}
.tym-lock-head{display:flex;flex-direction:column;align-items:center;padding:28px 16px 22px;background:linear-gradient(180deg,#664839,#553b2f);color:var(--gold)}
.tym-lock-ico{display:grid;place-items:center;width:64px;height:64px;margin-bottom:12px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;box-shadow:0 4px 0 #3f2a20}
.tym-lock-head b{font:700 30px/1 Georgia,serif}
.tym-lock-head span{margin-top:6px;font:500 12px/1 Roboto,system-ui,sans-serif;letter-spacing:.9px;text-transform:uppercase;color:#e9dccb}
.tym-lock-body{padding:22px 20px 0}
.tym-lock-body form{margin:0 0 6px}
.tym-lock-body h2{margin:0 0 14px!important;font:600 18px/1.3 Roboto,system-ui,sans-serif!important;color:var(--ink)!important;background:none!important;-webkit-text-fill-color:currentColor}
.tym-lock-body h2:after{display:none!important}
.tym-lock-body input{display:block;width:100%;max-width:220px;margin:0 auto 14px;padding:14px;border:1px solid #d9c6b0;border-radius:14px;background:#fff;color:var(--ink);font:600 26px/1 Roboto,system-ui,sans-serif;letter-spacing:12px;text-align:center;box-shadow:inset 0 2px 4px rgba(60,35,20,.08)}
.tym-lock-body button{display:block;width:100%;max-width:220px;margin:0 auto;padding:14px;border:0;border-radius:999px;background:linear-gradient(180deg,#6e5242,#553b2f);color:#fff;font:600 16px Roboto,system-ui,sans-serif;box-shadow:0 4px 0 #2f1f17,0 8px 14px rgba(40,20,10,.3);cursor:pointer}
.tym-lock-body button:active{transform:translateY(3px);box-shadow:0 1px 0 #2f1f17}
.tym-lock-body details{margin-top:14px}
.tym-lock-body summary{display:inline-block;padding:8px 12px;color:#6b5143;font:600 14px Roboto,system-ui,sans-serif;cursor:pointer;list-style:none}
.tym-lock-body summary::-webkit-details-marker{display:none}
.tym-lock-body label{display:block;margin:8px 0 10px;font:600 13px Roboto,system-ui,sans-serif;color:var(--mute)}
.tym-lock-body details input{font-size:16px;letter-spacing:normal;max-width:260px;margin-top:8px}
.tym-page:has(.tym-lock) .tym-install{display:none}

/* Signed-out page: calmer hero */
.ty-app-out{padding-top:22px!important}
.ty-app-out .ty-app-logo{width:64px!important;height:auto}
.ty-app-out h1{font-size:28px!important;margin:10px 0 4px!important}
.ty-app-out>p{font-size:15px;margin:4px auto 14px!important}
.ty-app-out .ty-app-links{margin-bottom:6px}
.ty-app-out .ty-app-invite{padding:18px!important}
.ty-app-out .ty-app-invite img{width:52px;height:52px}
.ty-app-out .ty-app-invite h2{font-size:20px!important;margin:8px auto 4px!important}
.ty-app-out .ty-app-invite h2:after{display:none!important}
.ty-app-out .ty-app-invite p{font-size:14px;margin:4px 0 12px}
.ty-app-out .ty-app-invite small{display:block;margin-top:8px;font-size:12.5px;opacity:.8}

/* ===== Owner app ===== */
.tym-owner{--br:#5b4033;--br2:#6b5143;--cream:#efe7dc;--ink:#3b2a22;--mute:#8a776b;--gold:#e8cfa6;font:15px/1.45 Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);text-align:left}
.tym-owner *{box-sizing:border-box}
.tym-owner h1{margin:0 0 14px;font:700 24px/1.2 Georgia,serif;color:var(--br)}
.tym-owner .tycc-layout{display:grid;gap:14px;align-items:start}
@media (min-width:900px){.tym-owner .tycc-layout{grid-template-columns:320px 1fr}}
.tym-owner .tycc-layout>section{min-width:0;padding:14px;border-radius:18px;background:var(--cream);box-shadow:0 4px 0 rgba(60,35,20,.08),0 10px 24px rgba(30,15,8,.12)}
.tym-owner .tycc-layout>section:last-child:has(.tym-staff){padding:0;background:transparent;box-shadow:none}
.tym-owner .tycc-layout>section:last-child .tym-staff{margin:0;max-width:none}
.tym-owner h2{margin:0 0 10px;font:600 17px/1.3 Roboto,system-ui,sans-serif;color:var(--ink)}
.tym-owner h2:after{display:none}
.tym-owner .tycc-contact{display:flex;align-items:center;gap:12px;margin:0 0 8px;padding:10px 12px;border-radius:14px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 2px 0 rgba(60,35,20,.08);transition:transform .1s,box-shadow .1s}
.tym-owner .tycc-contact:hover{background:#fdfaf6}
.tym-owner .tycc-contact:active{transform:translateY(2px);box-shadow:none}
.tym-owner .tycc-contact.on{background:#f7ecd8;box-shadow:0 2px 0 #e3cfae}
.tym-owner .tym-av{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:linear-gradient(180deg,#f4dcb2,#d9b47c);color:#4a2f22;font:700 15px/1 Roboto,system-ui,sans-serif;box-shadow:0 2px 0 #a07a45}
.tym-owner .tym-c{flex:1;min-width:0}
.tym-owner .tym-c b{display:block;font:600 15px/1.3 Roboto,system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tym-owner .tym-c small{display:block;font-size:12.5px;color:var(--mute)}
.tym-owner .tym-new{flex:none;padding:3px 9px;border-radius:999px;background:#4f8a5b;color:#fff;font:700 11.5px/1.4 Roboto,system-ui,sans-serif;font-style:normal}
.tym-owner .tycc-btn,.tym-owner button,.tym-owner .tycc-share a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border:0;border-radius:999px;background:linear-gradient(180deg,#6e5242,#553b2f);color:#fff!important;font:600 14px/1.1 Roboto,system-ui,sans-serif;text-decoration:none;box-shadow:0 3px 0 #2f1f17;cursor:pointer;transition:transform .1s,box-shadow .1s}
.tym-owner .tycc-btn:active,.tym-owner button:active{transform:translateY(2px);box-shadow:none}
.tym-owner .tym-staff button{min-height:0}
.tym-owner .tym-staff .tycc-wa-chips .tycc-chip{color:#6b5143!important}
.tym-owner .tym-staff .tycc-wa-chips .tycc-chip.active{color:#fff!important}
.tym-owner .tym-staff .tycall button[data-start]{display:block;font-size:0;padding:0;min-height:0}
.tym-owner section>form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:12px 0 0;padding-top:12px;border-top:1px solid #e3d7c8}
.tym-owner section>form label{flex:1;min-width:150px;font:600 13px Roboto,system-ui,sans-serif;color:var(--mute)}
.tym-owner input:not([type=checkbox]):not([type=hidden]):not([type=file]){display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #d9c6b0;border-radius:12px;background:#fff;color:var(--ink);font:15px Roboto,system-ui,sans-serif}
.tym-owner .tym-staff textarea{margin:0!important}
.tym-owner .tym-pick{display:flex;flex-direction:column;align-items:center;gap:6px;padding:48px 16px;border-radius:18px;background:var(--cream);color:var(--mute);text-align:center}
.tym-owner .tym-pick svg{color:#b39a86}
.tym-owner .tym-pick p{margin:0}
.tym-owner .tym-fold{margin:14px 0 0;border-radius:16px;background:var(--cream);box-shadow:0 3px 0 rgba(60,35,20,.08)}
.tym-owner .tym-fold>summary{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;font:600 15px Roboto,system-ui,sans-serif;color:var(--ink);cursor:pointer;list-style:none}
.tym-owner .tym-fold>summary::-webkit-details-marker{display:none}
.tym-owner .tym-fold>summary:after{content:"";width:8px;height:8px;border-right:2px solid #8a776b;border-bottom:2px solid #8a776b;transform:rotate(45deg);transition:transform .2s}
.tym-owner .tym-fold[open]>summary:after{transform:rotate(-135deg)}
.tym-owner .tym-fold>section,.tym-owner .tym-fold>div,.tym-owner .tym-fold>form{margin:0;padding:0 16px 16px}
.tym-owner .tycc-frontdesk h2{display:none}
.tym-owner .tycc-frontdesk p{margin:0 0 10px;color:var(--mute);font-size:14px}
.tym-owner .tycc-share{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.tym-owner .tycc-share input{flex:1 1 100%;margin:0 0 4px!important}
.tym-owner .tycc-frontdesk img{display:block;border-radius:12px;background:#fff;padding:6px}

/* fixes */
.tym .tycc-message audio[hidden]{display:none!important}
.tym .tym-menu-pop form{margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.tym .tycc-wa-header:has([data-callbox]:not([hidden])) .tym-menu,.tym .tycc-wa-header:has([data-callbox]:not([hidden])) .tycall [data-start]{display:none!important}
.tym .tycc-wa-header:has([data-callbox]:not([hidden])) .tycc-wa-actions{flex-basis:100%}
.tym .tycc-wa-header:has([data-callbox]:not([hidden])) .tycall{flex-basis:100%}
/* Calls v3 */
.tym .tycall [data-tap]{background:linear-gradient(180deg,#f4dcb2,#d4a865)!important;color:#4a2f22!important;box-shadow:0 3px 0 #9a7038!important}
.tym .tycall [data-mute].on{background:#fff!important;color:#5b4033!important}
/* Instant send */
.tym .tycc-message.tym-pending{opacity:.85}
.tym .tym-clock{display:inline-block;vertical-align:-1px;color:#8e7e72}
.tym .tycc-message.tym-failed{box-shadow:0 0 0 1.5px #d9534f,0 2px 0 rgba(60,35,20,.1)!important}
.tym .tym-retry{padding:0;border:0;background:none;color:#c0392b;font:600 12px Roboto,system-ui,sans-serif;cursor:pointer}
/* Call button with label */
.tym .tycall button[data-start]{display:flex!important;flex-direction:column;align-items:center;gap:3px;width:auto!important;height:auto!important;min-height:0!important;padding:0 2px!important;background:none!important;background-color:transparent!important;box-shadow:none!important;font-size:0!important;color:#fff!important}
.tym .tycall button[data-start]:before{content:"";display:block;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center no-repeat;box-shadow:0 4px 0 #3f2a20,inset 0 1px 0 rgba(255,255,255,.15);transition:transform .12s,box-shadow .12s}
.tym .tycall button[data-start]:active:before{transform:translateY(3px);box-shadow:0 1px 0 #3f2a20}
.tym .tycall button[data-start] .tycall-l{display:block;font:600 11.5px/1 Roboto,system-ui,sans-serif;color:#f3e7d6;letter-spacing:.2px;margin-top:2px}
/* No shake on send: swap buttons instantly, keep layout still */
.tym .tycc-wa-icon,.tym .tycc-wa-mic,.tym .tycc-wa-send{transition:transform .1s,box-shadow .1s!important}
.tym .tycc-wa-bar{min-height:48px}
.tym .tycc-scroll{overflow-anchor:auto;overscroll-behavior:contain}

/* ===== Alerts v1.17 ===== */
.tym-alertbar{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border-radius:16px;background:#fff7e8;box-shadow:0 3px 0 #ead9bb,0 8px 18px rgba(30,15,8,.08);font-family:Roboto,system-ui,sans-serif;color:#3b2a22}
.tym-alertbar.on{background:#eef5ea;box-shadow:0 3px 0 #cfe0c6}
.tym-ab-ico{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#fff;font-size:20px;box-shadow:0 2px 0 rgba(60,35,20,.1)}
.tym-ab-txt{flex:1;min-width:0}
.tym-ab-txt b{display:block;font:600 15px/1.3 Roboto,system-ui,sans-serif}
.tym-ab-txt small{display:block;font-size:13px;color:#8a776b}
.tym-alertbar button{flex:none}
.tym-callbanner{position:fixed;left:12px;right:12px;top:calc(12px + env(safe-area-inset-top));z-index:100000;display:flex;align-items:center;gap:12px;max-width:520px;margin:0 auto;padding:12px 12px 12px 14px;border-radius:18px;background:linear-gradient(180deg,#6e5242,#553b2f);color:#fff;font-family:Roboto,system-ui,sans-serif;box-shadow:0 5px 0 #2f1f17,0 16px 40px rgba(0,0,0,.4);animation:tymDrop .35s ease-out}
.tym-callbanner[hidden]{display:none}
@keyframes tymDrop{from{transform:translateY(-120%)}to{transform:none}}
.tym-cb-ico{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.14);font-size:22px;animation:tymShake 1s ease-in-out infinite}
@keyframes tymShake{0%,100%{transform:rotate(0)}10%,30%{transform:rotate(-14deg)}20%,40%{transform:rotate(14deg)}50%{transform:rotate(0)}}
.tym-cb-txt{flex:1;min-width:0}
.tym-cb-txt b{display:block;font:700 16px/1.25 Roboto,system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tym-cb-txt small{display:block;font-size:13px;color:#e9dccb}
.tym-cb-go{flex:none;padding:12px 20px;border-radius:999px;background:linear-gradient(180deg,#4caf6d,#378a54);color:#fff!important;font:700 15px/1 Roboto,system-ui,sans-serif;text-decoration:none!important;box-shadow:0 4px 0 #23603a;animation:tymGlow 1.4s ease-in-out infinite}
.tym-cb-go:active{transform:translateY(3px);box-shadow:0 1px 0 #23603a}
@keyframes tymGlow{50%{box-shadow:0 4px 0 #23603a,0 0 0 8px rgba(76,175,109,.25)}}
.tym-toast{position:fixed;left:12px;right:12px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:99999;display:flex;align-items:center;gap:8px;max-width:420px;margin:0 auto;padding:12px 16px;border-radius:16px;background:#fff;color:#3b2a22!important;font:15px/1.3 Roboto,system-ui,sans-serif;text-decoration:none!important;box-shadow:0 4px 0 rgba(60,35,20,.12),0 14px 30px rgba(0,0,0,.25);animation:tymUp .3s ease-out}
.tym-toast[hidden]{display:none}
.tym-toast span:nth-child(2){flex:1}
.tym-toast em{font-style:normal;font-weight:700;color:#5b4033}
@keyframes tymUp{from{transform:translateY(120%);opacity:0}to{transform:none;opacity:1}}
.tym .tycall [data-accept].tym-pulse,.tym .tycall [data-accept]:not([hidden]){animation:tymGlow 1.4s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.tym-cb-ico,.tym-cb-go,.tym-callbanner,.tym-toast{animation:none!important}}

/* v1.18.1 owner chat: chat first on phones, hidden fields always hidden */
.tym [hidden],.tym input[type=file],.tym select[name=kind]{display:none!important}
.tym .tycc-wa-bar textarea{width:auto!important;max-width:none!important}
.tym-back-inbox{display:none}
@media(max-width:899px){
 .tym-owner .tycc-layout.has-open>section:first-child{display:none}
 .tym-owner .tym-back-inbox{display:inline-flex;align-items:center;gap:4px;margin:0 0 10px;padding:8px 14px;border-radius:999px;background:#fff;color:#5b4033!important;font:600 14px Roboto,system-ui,sans-serif;text-decoration:none!important;box-shadow:0 2px 0 rgba(60,35,20,.1)}
 .tym-owner .tym-staff .tycc-scroll{max-height:52vh}
 .tym-owner:has(.tycc-layout.has-open) .tym-alertbar{display:none}
}
.ty-private-panel .tym-owner h1{color:#efd9ad}
@media(max-width:899px){
 .tym-owner:has(.tycc-layout.has-open)>h1{display:none}
 .tym-owner .tym-staff .tycc-scroll{max-height:calc(100vh - 360px);min-height:220px}
}

/* v1.18.2: no topic buttons; private offers from Rewards and the chat menu */
.tym .tycc-wa-chips{display:none!important}
.tym .tym-menu-pop form+form{margin-top:4px!important;border-top:1px solid #efe6da!important;padding-top:4px!important}
.tym .tym-menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.tym .tym-menu-item:hover{background:#f7f1e9}
.tym .tym-menu-item>span:first-child{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#f7ecd8;font-size:16px}
.tym .tym-menu-item b{display:block;font:600 15px/1.3 Roboto,system-ui,sans-serif}
.tym .tym-menu-item small{display:block;margin-top:2px;font:400 12.5px/1.4 Roboto,system-ui,sans-serif;color:var(--mute)}
.tym-ask{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:14px;border-radius:16px;background:linear-gradient(160deg,#fff7e8,#f7ecd8);box-shadow:0 3px 0 #ead9bb,0 8px 18px rgba(60,35,20,.08)}
.tym-ask>span{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:#fff;font-size:20px;box-shadow:0 2px 0 rgba(60,35,20,.1)}
.tym-ask>div{flex:1;min-width:0}
.tym-ask b{display:block;font:600 15px/1.3 Roboto,system-ui,sans-serif;color:var(--ink)}
.tym-ask small{display:block;margin-top:2px;font-size:13px;color:var(--mute)}
.tym-ask form{margin:0;flex:none}
.tym-ask .tym-ask-btn{border:0;cursor:pointer;padding:11px 18px}

/* v1.19 missed calls */
.tym .tym-missed{display:inline-flex;align-items:center;gap:8px;font:600 15px/1.3 Roboto,system-ui,sans-serif;color:#c0392b}
.tym .tym-missed.mine{color:#8a776b}
.tym .tym-missed svg{flex:none}
.tym .tym-callback{display:inline-flex;margin:8px 0 2px;padding:7px 14px;border:0;border-radius:999px;background:linear-gradient(180deg,#4caf6d,#378a54);color:#fff;font:600 13px Roboto,system-ui,sans-serif;box-shadow:0 3px 0 #23603a;cursor:pointer}
.tym .tym-callback:active{transform:translateY(2px);box-shadow:none}

/* v1.19 no-shake: fixed chat height so new messages scroll inside and the typing bar never moves */
.tym .tycc-scroll{height:56vh!important;max-height:none!important;min-height:240px}
.tym-staff .tycc-scroll{height:62vh!important}
@media(max-width:899px){.tym-owner .tym-staff .tycc-scroll{height:calc(100vh - 360px)!important;min-height:220px}}
.tym .tycc-scroll{overflow-anchor:none}
.tym .tym-missed{display:flex!important}
.tym .tym-callback{display:flex!important;width:fit-content}

/* v1.19.1 owner tools under the chat + clearer empty state */
.tym-owner .tym-pick p{color:#6f5c50!important;font-size:15px;line-height:1.5}
.tym-owner .tym-pick p b{display:block;color:#3b2a22;font-size:17px;margin-bottom:2px}
.tym-owner .tym-pick svg{color:#a0846c}
.tym-staff-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 0}
.tym-staff-tools form{margin:0;padding:0;border:0!important;display:block!important}
.tym-consult-state{flex-basis:100%;padding:8px 12px;border-radius:12px;background:#F7DDD2;color:#8a3a1e;font:600 13.5px Roboto,system-ui,sans-serif}
.tym-consult-state.done{background:#E3EEDC;color:#2f5a2a}
/* v1.20 form type picker */
.tym-staff-tools form{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px}
.tym-consult-pick{display:inline-flex;align-items:center;gap:8px;padding:6px 6px 6px 14px;border-radius:999px;background:#fff;box-shadow:0 2px 0 rgba(60,35,20,.1);font:600 13.5px Roboto,system-ui,sans-serif;color:#6b5143}
.tym-consult-pick label{margin:0!important;font:inherit!important;color:inherit!important;display:inline!important}
.tym-owner .tym-consult-pick select{display:inline-block!important;width:auto!important;margin:0!important;padding:8px 30px 8px 10px!important;border:1px solid #e0d3c4!important;border-radius:999px!important;background:#fbf7f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b4033' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center!important;-webkit-appearance:none;appearance:none;font:600 14px Roboto,system-ui,sans-serif!important;color:#3b2a22!important}
/* v1.21 tile hints, header labels, PIN */
.tym-tiles a{gap:4px;min-height:84px}
.tym-tiles a small{display:block;font:400 10.5px/1.15 Roboto,system-ui,sans-serif;opacity:.78;letter-spacing:0}
.tym-tiles a.on small{opacity:.85}
.tym-acts{gap:2px}
.tym-ico.tym-ico-l{width:auto;min-width:48px;height:auto;padding:5px 6px!important;gap:3px;position:relative}
.tym-ico-l small{display:block;font:500 10px/1 Roboto,system-ui,sans-serif;color:#f3e7d6;opacity:.85;white-space:nowrap}
.tym-dot:after{content:"";position:absolute;top:4px;right:9px;width:9px;height:9px;border-radius:50%;background:#e8a33d;box-shadow:0 0 0 2px #5a4034}
.tym-tip{display:flex;align-items:center;gap:10px;margin:12px 14px 0;padding:10px 10px 10px 12px;border-radius:16px;background:linear-gradient(160deg,#fff7e8,#f7ecd8);box-shadow:0 3px 0 #ead9bb,0 8px 18px rgba(60,35,20,.08)}
.tym-tip>span{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#fff;color:#5b4033}
.tym-tip>div{flex:1;min-width:0}.tym-tip b{display:block;font:600 14px/1.25 Roboto,system-ui,sans-serif;color:#3b2a22}.tym-tip small{display:block;font:400 12.5px/1.3 Roboto,system-ui,sans-serif;color:#6b5143}
.tym-tip .tym-btn{padding:9px 14px;font-size:13.5px;flex:none}
.tym-tip-x{flex:none;width:28px;height:28px;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#8a6d5c!important;font:400 20px/1 sans-serif!important;box-shadow:none!important;cursor:pointer}
.tym-pin-card{padding:22px 18px;border-radius:20px;background:#fff;box-shadow:0 3px 0 #e6d8c6,0 10px 22px rgba(60,35,20,.08);text-align:center}
.tym-pin-ico{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 10px;border-radius:50%;background:linear-gradient(180deg,#f4dcb2,#d9b47c);color:#4a2f22;box-shadow:0 3px 0 #a07a45}
.tym-pin-card h3{margin:0 0 6px!important;font:600 19px/1.3 Roboto,system-ui,sans-serif!important;color:#3b2a22!important}
.tym-pin-card>p{margin:0 auto 16px!important;max-width:320px;font:400 14.5px/1.5 Roboto,system-ui,sans-serif!important;color:#6b5143!important}
.tym-pin-card form{margin:0 0 6px}
.tym-pin-card label{display:block;margin:0 auto 12px;max-width:240px;font:600 13px Roboto,system-ui,sans-serif;color:#6b5143;text-align:left}
.tym .tym-pin-in{display:block;width:100%;margin:6px 0 0!important;padding:12px!important;border:1px solid #d9c6b0!important;border-radius:14px!important;background:#fbf7f1!important;color:#3b2a22!important;font:600 24px/1 Roboto,system-ui,sans-serif!important;letter-spacing:14px;text-align:center;box-shadow:inset 0 2px 4px rgba(60,35,20,.06)!important}
.tym-pin-card .tym-btn{display:block;width:100%;max-width:240px;margin:6px auto 0;border:0;cursor:pointer;box-shadow:0 4px 0 #2f1f17}
.tym-pin-card .tym-btn-soft{background:#efe4d6;color:#5b4033!important;box-shadow:0 3px 0 #d6c3ad}
.tym-pin-foot{margin:14px 0 0!important;font:400 12.5px/1.4 Roboto,system-ui,sans-serif!important;color:#8a6d5c!important}
.tym-pin-more{margin:12px auto 0;max-width:260px;text-align:left;border-top:1px solid #efe4d6;padding-top:10px}
.tym-pin-more summary{display:block!important;padding:6px 0;font:600 14px Roboto,system-ui,sans-serif;color:#5b4033;cursor:pointer;list-style:none;text-align:center}
.tym-pin-more summary::-webkit-details-marker{display:none}
.tym-pin-more[open] summary{margin-bottom:10px}
.tym .tym-link{display:block;margin:14px auto 0!important;padding:8px!important;border:0!important;background:none!important;box-shadow:none!important;color:#7a1f3a!important;font:600 13.5px Roboto,system-ui,sans-serif!important;text-decoration:underline;cursor:pointer;width:auto!important;max-width:none!important}
.tym-pin-msg{margin:0 auto 14px!important;max-width:300px;padding:10px 12px;border-radius:12px;background:#fdeaea;color:#8a2a2a!important;font:500 13.5px/1.4 Roboto,system-ui,sans-serif!important}
.tym-pin-msg.ok{background:#e6f2e3;color:#2f5a2a!important}
.tym-lock-sub{margin:-6px 0 14px!important;font:400 14px Roboto,system-ui,sans-serif!important;color:#6b5143!important}
.tym-lock-body{text-align:center}
.tym-lock-body .tym-pin-in{max-width:220px!important;margin:0 auto 14px!important}
/* v1.22 badges, usual card, rebook sheet, app feel */
.tym-tiles a{position:relative;-webkit-user-select:none;user-select:none}
.tym-badge{position:absolute;top:6px;right:8px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#d8433a;color:#fff;font:700 11.5px/20px Roboto,system-ui,sans-serif;font-style:normal;text-align:center;box-shadow:0 0 0 2px #5a4034,0 2px 6px rgba(0,0,0,.3);animation:tymPop .35s cubic-bezier(.2,1.6,.4,1)}
.tym-tiles a.on .tym-badge{box-shadow:0 0 0 2px #d9b47c}
@keyframes tymPop{from{transform:scale(0)}}
.tym-loading .tym-tiles{opacity:.85}
.tym-loading:after{content:"";position:fixed;top:0;left:0;height:3px;width:40%;z-index:9999;background:linear-gradient(90deg,transparent,#e8cfa6,transparent);animation:tymBar 1s linear infinite}
@keyframes tymBar{from{left:-40%}to{left:100%}}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
.tym-usual{margin:12px 14px 0;padding:14px;border-radius:18px;background:linear-gradient(160deg,#fff,#fbf3e7);box-shadow:0 3px 0 #e6d6c0,0 10px 22px rgba(60,35,20,.08)}
.tym-usual-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.tym-usual-top>span{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:linear-gradient(180deg,#f4dcb2,#d9b47c);color:#4a2f22;font:700 20px/1 sans-serif;box-shadow:0 3px 0 #a07a45}
.tym-usual-top small{display:block;font:600 11.5px Roboto,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9a7b62}
.tym-usual-top b{display:block;font:600 15.5px/1.3 Jost,Roboto,system-ui,sans-serif;color:#3b2a22}
.tym .tym-usual-go{display:block;width:100%;margin:0 0 8px!important;padding:14px!important;border:0!important;border-radius:999px!important;background:linear-gradient(180deg,#6e5242,#553b2f)!important;color:#fff!important;font:600 15.5px Jost,Roboto,system-ui,sans-serif!important;box-shadow:0 4px 0 #2f1f17!important;cursor:pointer}
.tym .tym-usual-go:active{transform:translateY(3px);box-shadow:0 1px 0 #2f1f17!important}
.tym .tym-usual-alt{display:block;width:100%;margin:0!important;padding:8px!important;border:0!important;background:none!important;box-shadow:none!important;color:#7a5a46!important;font:600 13.5px Jost,Roboto,system-ui,sans-serif!important;text-decoration:underline;cursor:pointer}
.tym-item .tym-chip{border:0;cursor:pointer}
html.tym-sheet-open{overflow:hidden}
.tym-sheet{position:fixed;inset:0;z-index:99990;display:flex;align-items:flex-end;justify-content:center;background:rgba(20,10,6,.55);animation:tymFade .2s}
.tym-sheet[hidden]{display:none!important}
.tym-sheet-in{position:relative;width:100%;max-width:480px;max-height:92vh;overflow:auto;padding:22px 18px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fbf6ef;color:#3b2a22;font:400 15px/1.45 Jost,Roboto,system-ui,sans-serif;animation:tymUp .3s cubic-bezier(.2,.9,.2,1)}
@media(min-width:700px){.tym-sheet{align-items:center}.tym-sheet-in{border-radius:24px}}
@keyframes tymFade{from{opacity:0}}@keyframes tymUp{from{transform:translateY(40px);opacity:0}}
.tym-sheet-x{position:absolute;top:12px;right:12px;width:34px;height:34px;padding:0!important;border:0!important;border-radius:50%!important;background:#efe4d6!important;color:#5b4033!important;font:400 20px/1 sans-serif!important;box-shadow:none!important;cursor:pointer}
.tym-sheet-k{display:block;font:600 11.5px Roboto,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#9a7b62}
.tym-sheet-in h3{margin:4px 40px 12px 0!important;font:600 19px/1.3 Jost,Roboto,system-ui,sans-serif!important;color:#3b2a22!important}
.tym-sheet-l{margin:12px 0 8px!important;font:600 13px Roboto,system-ui,sans-serif!important;color:#6b5143!important}
.tym-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tym-chips::-webkit-scrollbar{display:none}
.tym-chips button{flex:none;padding:10px 14px!important;border:1px solid #e3d4c1!important;border-radius:999px!important;background:#fff!important;color:#4a3328!important;font:600 14px Jost,Roboto,system-ui,sans-serif!important;box-shadow:0 2px 0 #eadccb!important;cursor:pointer;white-space:nowrap}
.tym-chips button.on{background:#3d281e!important;border-color:#3d281e!important;color:#f4dcb2!important;box-shadow:0 2px 0 #1f130d!important}
.tym .tym-sheet-go,.tym-sheet .tym-sheet-go{display:block;width:100%;margin:16px 0 0!important;padding:15px!important;border:0!important;border-radius:999px!important;background:linear-gradient(180deg,#6e5242,#553b2f)!important;color:#fff!important;font:600 16px Jost,Roboto,system-ui,sans-serif!important;box-shadow:0 4px 0 #2f1f17!important;cursor:pointer}
.tym-sheet-go:disabled{opacity:.7}
.tym-sheet-note{margin:10px 0 0!important;text-align:center;font:400 13px/1.4 Jost,Roboto,sans-serif!important;color:#8a6d5c!important}
.tym-sheet-ok{display:grid;place-items:center;width:64px;height:64px;margin:6px auto 10px;border-radius:50%;background:#e6f2e3;color:#2f5a2a;font:700 30px/1 sans-serif;animation:tymPop .4s cubic-bezier(.2,1.6,.4,1)}
[data-step=done]{text-align:center}[data-step=done] h3{margin-right:0!important}
.tym-sheet-bank{margin:12px 0 0;padding:12px;border-radius:14px;background:#fff;box-shadow:0 2px 0 #eadccb;font-size:14px}
.tym-sheet-bank p{margin:0 0 4px!important}
.tym-sheet-err{margin:12px 0 0!important;padding:10px 12px;border-radius:12px;background:#fdeaea;color:#8a2a2a!important;font:500 14px/1.4 Jost,sans-serif!important}
/* v1.22.2 Chat screen fits the phone: message box always visible at the bottom */
.ty-app-body .tym-page{padding:calc(8px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom))!important}
.ty-app-body .tym.is-home{display:flex!important;flex-direction:column;height:calc(100vh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:440px;overflow:hidden}
.ty-app-body .tym.is-home>*{flex:none}
.ty-app-body .tym.is-home>.tym-body:not([hidden]){flex:1 1 auto!important;min-height:0;display:flex!important;flex-direction:column;overflow:hidden}
.ty-app-body .tym.is-home>.tym-body>*{flex:none}
.ty-app-body .tym.is-home .tycc-chat{flex:1 1 auto!important;min-height:0;display:flex!important;flex-direction:column;margin:0!important}
.ty-app-body .tym.is-home .tycc-chat>*{flex:none}
.ty-app-body .tym.is-home .tycc-scroll{flex:1 1 auto!important;height:auto!important;max-height:none!important;min-height:90px!important}
.ty-app-body .tym.is-home ~ .tym-install{margin-top:14px}
/* slim "Book your usual" line */
.tym.is-home .tym-usual{display:flex;align-items:center;gap:10px;margin:8px 10px 6px;padding:8px 8px 8px 10px;border-radius:16px}
.tym.is-home .tym-usual-top{flex:1;min-width:0;margin:0;gap:9px}
.tym.is-home .tym-usual-top>span{width:32px;height:32px;font-size:16px;box-shadow:0 2px 0 #a07a45}
.tym.is-home .tym-usual-top small{font-size:10px}
.tym.is-home .tym-usual-top b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tym.is-home .tym-usual-top>div{min-width:0}
.tym .tym.is-home .tym-usual-go,.tym.is-home .tym-usual-go{flex:none;width:auto!important;margin:0!important;padding:10px 14px!important;font-size:13px!important;white-space:nowrap}
.tym.is-home .tym-usual-alt{display:none!important}
/* Back to chat */
.tym-backchat{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:9000;display:inline-flex;align-items:center;gap:9px;padding:14px 22px;margin-left:-92px;width:184px;justify-content:center;border-radius:999px;background:linear-gradient(180deg,#f4dcb2,#d9b47c);color:#3b2a22!important;font:600 15.5px Jost,Roboto,system-ui,sans-serif;box-shadow:0 4px 0 #a07a45,0 12px 26px rgba(30,15,8,.35);animation:tymUp .3s cubic-bezier(.2,.9,.2,1)}
.tym-backchat svg{width:20px;height:20px}
.tym-backchat:active{box-shadow:0 1px 0 #a07a45}
.tym.is-home .tym-backchat,html.tym-sheet-open .tym-backchat{display:none}
.tym:not(.is-home) .tym-body{padding-bottom:84px}
/* keyboard open / short screens: keep the chat and message box in view */
@media (max-height:640px){
 .ty-app-body .tym.is-home{min-height:0}
 /* v1.28.3 Tiles stay visible always (owner wants them pinned). Only the usual/nudge cards may hide on tight screens. */
 .ty-app-body .tym.is-home .tym-usual,.ty-app-body .tym.is-home .tym-nudge{display:none!important}
}
.ty-app-body .tym.is-home:has(form.tym-typing) .tym-usual,.ty-app-body .tym.is-home:has(form.tym-typing) .tym-nudge{display:none!important}
.ty-app-body .tym.is-home:has(form.tym-typing){min-height:0}
/* v1.23 secret offer + welcome */
.tym-secret{position:relative;overflow:hidden;margin:0 0 14px;padding:20px 16px 16px;border-radius:20px;text-align:center;background:radial-gradient(120% 90% at 50% 0%,#5d3c27,#2c1a11 70%);color:#fff4df;box-shadow:0 4px 0 #1f130d,0 14px 28px rgba(40,20,10,.25)}
.tym-secret:after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,236,190,.18),transparent);transform:skewX(-18deg);animation:tymSweep 4s ease-in-out infinite}
@keyframes tymSweep{0%,55%{left:-60%}100%{left:130%}}
.tym-secret-gift{font-size:38px;line-height:1;margin-bottom:8px;animation:tymBob 2.4s ease-in-out infinite}
@keyframes tymBob{50%{transform:translateY(-5px) rotate(-4deg)}}
.tym-secret b{display:block;font:500 21px/1.2 "Bodoni Moda",Georgia,serif;color:#f4d896}
.tym-secret small{display:block;margin:6px auto 14px;max-width:280px;font:400 13.5px/1.4 Jost,Roboto,sans-serif;color:#e2ccad}
.tym .tym-secret-go{display:block;width:100%;padding:15px!important;border:0!important;border-radius:999px!important;background:linear-gradient(180deg,#f6e0b5,#d8ae6e)!important;color:#3b2a22!important;font:700 16px Jost,Roboto,sans-serif!important;box-shadow:0 4px 0 #9c7440!important;cursor:pointer;position:relative;z-index:1}
.tym .tym-secret-go:active{transform:translateY(3px);box-shadow:0 1px 0 #9c7440!important}
.tym-welcome{position:fixed;inset:0;z-index:99980;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(20,10,6,.6);animation:tymFade .25s}
.tym-welcome-in{width:100%;max-width:340px;padding:26px 22px 20px;border-radius:26px;text-align:center;background:radial-gradient(120% 80% at 50% 0%,#5d3c27,#24160f 75%);color:#fff4df;box-shadow:0 20px 50px rgba(0,0,0,.5),0 0 0 1px rgba(244,216,150,.3);animation:tymUp .35s cubic-bezier(.2,.9,.2,1)}
.tym-welcome-gift{font-size:54px;line-height:1;animation:tymBob 2.4s ease-in-out infinite}
.tym-welcome-in small{display:block;margin:12px 0 4px;font:600 11.5px Jost,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#d9c2a3}
.tym-welcome-in h3{margin:0 0 6px!important;font:500 26px/1.2 "Bodoni Moda",Georgia,serif!important;color:#fff4df!important}
.tym-welcome-in p{margin:0 0 18px!important;font:400 15px/1.45 Jost,sans-serif!important;color:#ecd8bf!important}
.tym-welcome-go{display:block;padding:15px;border-radius:999px;background:linear-gradient(180deg,#f6e0b5,#d8ae6e);color:#3b2a22!important;font:700 16px Jost,sans-serif;text-decoration:none;box-shadow:0 4px 0 #9c7440}
.tym .tym-welcome-later{display:block;margin:10px auto 0!important;padding:6px 10px!important;border:0!important;background:none!important;box-shadow:none!important;color:#d9c2a3!important;font:500 14px Jost,sans-serif!important;cursor:pointer}
/* v1.23.1 WhatsApp-style photos, videos and file cards */
.tym .tycc-message:has(.tym-photo),.tym .tycc-message:has(.tym-video){padding:4px!important;max-width:74%}
.tycc-message:has(.tym-photo) .tycc-bubble-top,.tycc-message:has(.tym-video) .tycc-bubble-top{display:none}
.tycc-message:has(.tym-photo) p,.tycc-message:has(.tym-video) p{line-height:0!important}
.tym-photo{display:block;position:relative;border-radius:11px;overflow:hidden;background:#e9dfd2;line-height:0;max-width:260px}
.tym-photo img{display:block;width:100%;height:auto;max-width:260px;max-height:340px;min-height:90px;object-fit:cover;border-radius:11px}
.tym-video{display:block;width:260px;max-width:100%;max-height:340px;border-radius:11px;background:#000}
.tycc-message:has(.tym-photo) .tycc-meta,.tycc-message:has(.tym-video) .tycc-meta{position:absolute;right:10px;bottom:9px;margin:0!important;padding:2px 7px;border-radius:999px;background:rgba(0,0,0,.42);color:#fff!important;font-size:11px!important;line-height:1.4;pointer-events:none}
.tycc-message:has(.tym-photo) .tycc-ticks{color:#fff!important}.tycc-message:has(.tym-photo) .tycc-ticks.seen{color:#7fd2ff!important}
.tycc-message:has(.tym-video) .tycc-meta{bottom:auto;top:9px}
.tym-filecard{display:flex;align-items:center;gap:10px;min-width:200px;padding:8px 10px;border-radius:10px;background:rgba(0,0,0,.05);text-decoration:none!important}
.tym-fc-ico{flex:none;display:grid;place-items:center;width:38px;height:44px;border-radius:7px;background:#d8433a;color:#fff;font:700 11px/1 Roboto,system-ui,sans-serif;letter-spacing:.04em}
.tym-fc-t{display:flex;flex-direction:column;min-width:0}.tym-fc-t b{font:600 14px/1.25 Roboto,system-ui,sans-serif;color:var(--ink,#3b2a22);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.tym-fc-t small{font:400 12px Roboto,system-ui,sans-serif;color:#8e7e72}
.tym-viewer{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.94);animation:tymFade .18s}
.tym-viewer img{max-width:100vw;max-height:100vh;object-fit:contain;touch-action:pinch-zoom}
.tym-viewer-x{position:absolute;top:calc(12px + env(safe-area-inset-top));right:12px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font:400 26px/1 sans-serif;cursor:pointer}

.tym .tycc-message:has(.tym-filecard){padding:6px 6px 4px!important;min-width:0}
.tym .tycc-message p>a.tym-filecard{display:flex!important}
.tym-answer-now{animation:tymAns 1s ease-in-out infinite!important;box-shadow:0 0 0 0 rgba(63,170,80,.7)!important}
@keyframes tymAns{0%{box-shadow:0 0 0 0 rgba(63,170,80,.7)}70%{box-shadow:0 0 0 18px rgba(63,170,80,0)}100%{box-shadow:0 0 0 0 rgba(63,170,80,0)}}
/* v1.23.3 alert status */
.tym-al{display:inline-block;font:500 12px/1.3 Roboto,system-ui,sans-serif}
.tym-al.on{color:#bfe6c4}.tym-al.off{color:#ffd28a}
.tycc-push-row.is-off button{display:block;width:100%;padding:12px 14px!important;border:0!important;border-radius:999px!important;background:linear-gradient(180deg,#f6e0b5,#d8ae6e)!important;color:#3b2a22!important;font:700 14.5px Jost,Roboto,sans-serif!important;box-shadow:0 3px 0 #9c7440!important;cursor:pointer;animation:tymNudge 2.6s ease-in-out infinite}
@keyframes tymNudge{0%,80%,100%{transform:none}86%{transform:rotate(-1.5deg)}92%{transform:rotate(1.5deg)}}
.tycc-push-row.is-on button{background:none!important;border:0!important;box-shadow:none!important;color:#7a9a6e!important;font:500 12.5px Roboto,sans-serif!important;padding:4px!important}

/* v1.24 unread count on Back to chat */
.tym-backchat{position:relative}
.tym-cnum{position:absolute;top:-7px;right:-7px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#25b04f;color:#fff;font:800 12px/22px system-ui,sans-serif;font-style:normal;text-align:center;box-shadow:0 0 0 2px #fff}
.tym-cnum[hidden]{display:none}

/* v1.25.3 Call screen: full screen, like a real phone call. Name and photo at the top, big round buttons at the bottom. */
.tym .tycall [data-callbox]:not([hidden]){position:fixed;inset:0;z-index:99990;display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:auto;max-width:none;margin:0;padding:max(56px,calc(env(safe-area-inset-top) + 40px)) 24px max(48px,calc(env(safe-area-inset-bottom) + 34px));border:0;border-radius:0;box-shadow:none;background:radial-gradient(120% 70% at 50% 18%,#6b4c3c 0%,#3b271d 55%,#1d110b 100%);color:#f3e7d6;animation:tycallIn .28s ease-out both}
@keyframes tycallIn{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:none}}
.tym .tycall .tycall-top{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;width:100%}
.tym .tycall .tycall-lock{font:600 12.5px/1 Roboto,system-ui,sans-serif;letter-spacing:.4px;color:#cdb79c;margin-bottom:34px}
.tym .tycall .tycall-av{position:relative;display:grid;place-items:center;width:132px;height:132px;border-radius:50%;background:#24160f;border:3px solid #e3b567;overflow:hidden;font:700 46px/1 'Bodoni Moda',Georgia,serif;color:#e3b567;box-shadow:0 0 0 12px rgba(227,181,103,.10),0 0 0 26px rgba(227,181,103,.05),0 18px 40px rgba(0,0,0,.45)}
.tym .tycall .tycall-av img{width:100%;height:100%;object-fit:cover}
.tym .tycall [data-callbox]:has([data-accept]:not([hidden])) .tycall-av,.tym .tycall [data-callbox]:has(.tycall-end):not(:has([data-mute]:not([hidden]))) .tycall-av{animation:tycallPulse 1.6s ease-in-out infinite}
@keyframes tycallPulse{0%,100%{box-shadow:0 0 0 12px rgba(227,181,103,.10),0 0 0 26px rgba(227,181,103,.05),0 18px 40px rgba(0,0,0,.45)}50%{box-shadow:0 0 0 20px rgba(227,181,103,.16),0 0 0 40px rgba(227,181,103,.06),0 18px 40px rgba(0,0,0,.45)}}
.tym .tycall [data-call-name]{display:block;margin:26px 0 8px;font:600 30px/1.15 'Bodoni Moda',Georgia,serif;color:#fff;flex-basis:auto}
.tym .tycall [data-state]{flex:none;min-width:0;margin:0;font:500 17px/1.3 Roboto,system-ui,sans-serif;color:#e3b567;text-align:center}
.tym .tycall .tycall-chip{margin-top:22px;min-height:0!important;padding:9px 16px!important;border-radius:999px;border:1px solid rgba(227,181,103,.5)!important;background:rgba(255,255,255,.08)!important;box-shadow:none!important;font:600 13.5px Roboto,system-ui,sans-serif!important;color:#f3e7d6!important}
.tym .tycall .tycall-btns{display:flex;justify-content:space-evenly;align-items:flex-start;width:100%;max-width:380px}
.tym .tycall .tycall-btns button{display:flex!important;flex-direction:column;align-items:center;gap:10px;min-width:0;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font:500 14.5px Roboto,system-ui,sans-serif!important;color:#f3e7d6!important;animation:none!important}
.tym .tycall .tycall-btns button[hidden]{display:none!important}
.tym .tycall .tycall-btns button:before{content:"";display:block;width:74px;height:74px;border-radius:50%;background:#fff3 center/32px no-repeat;box-shadow:0 10px 24px rgba(0,0,0,.35);transition:transform .12s}
.tym .tycall .tycall-btns button:active:before{transform:scale(.92)}
.tym .tycall .tycall-acc:before{background-color:#2fa65a!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E")!important;animation:tycallBob 1.2s ease-in-out infinite}
@keyframes tycallBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.tym .tycall .tycall-end:before{background-color:#d9443a!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E")!important;transform:rotate(135deg)}
.tym .tycall .tycall-end:active:before{transform:rotate(135deg) scale(.92)}
.tym .tycall .tycall-mute:before{background-color:rgba(255,255,255,.16)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E")!important}
.tym .tycall .tycall-mute.on:before{background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4033' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E")!important}
.tym .tycall .tycall-mute.on{background:none!important;color:#f3e7d6!important}
.tym .tycall [data-callbox] audio{position:absolute;width:1px;height:1px;opacity:0}
body:has(.tycall [data-callbox]:not([hidden])){overflow:hidden}
.tym .tycall [hidden]{display:none!important}

/* v1.27.1 the "Turn on" button really disappears once alerts are on (some page styles were showing it again) */
.tym-alertbar [hidden],.tycc-push-row [hidden]{display:none!important}

/* v1.27.2 call screen: can the other phone be reached? */
.tycall-reach{max-width:300px;margin:10px auto 0!important;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff4df!important;font:500 14px/1.4 Jost,Roboto,system-ui,sans-serif!important;text-align:center}
.tycall-reach[hidden]{display:none!important}
.tym-test-msg{flex-basis:100%;margin:0;padding:9px 12px;border-radius:10px;background:#fff4dc;color:#5a3d10;font-size:14px}
.tym-al{white-space:normal}

/* v1.27.3 missed calls */
.tym-missed-bar{display:flex;align-items:center;gap:12px;margin:12px 14px 0;padding:12px 14px;border-radius:16px;background:linear-gradient(165deg,#fff6ef,#fbe3d6);box-shadow:0 3px 0 #e9c3ad,0 8px 18px rgba(60,35,20,.10)}
.tym-missed-bar>span:first-child{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#fff;font-size:20px;box-shadow:0 2px 0 #e9c3ad}
.tym-missed-bar>span:nth-child(2){flex:1;min-width:0}
.tym-missed-bar b{display:block;font:600 15px/1.3 Jost,Roboto,system-ui,sans-serif;color:#7a2e20}
.tym-missed-bar small{display:block;font:400 13px Roboto,system-ui,sans-serif;color:#8a776b}
.tym-missed-bar button{flex:none;min-height:44px;padding:10px 18px;border:0;border-radius:999px;background:linear-gradient(180deg,#3f9a52,#2f7d40);color:#fff;font:600 15px Jost,Roboto,system-ui,sans-serif;box-shadow:0 4px 0 #1f5a2c;cursor:pointer}
.tym-missed-bar button:active{transform:translateY(3px);box-shadow:0 1px 0 #1f5a2c}
.tym-mcs{margin:0 0 16px;padding:14px 16px;border-radius:18px;background:#fff6ef;box-shadow:0 1px 2px rgba(60,35,20,.08)}
.tym-mcs h2{margin:0 0 6px;font:600 14px Roboto,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#a2382b}
.tym-mc{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:10px 0;border-top:1px solid #f1ddd0;color:#3b2a22;text-decoration:none}
.tym-mc b{font-weight:600}.tym-mc small{color:#8a776b}
.tym-mc em{margin-left:auto;padding:7px 14px;border-radius:999px;background:#2f7d40;color:#fff;font:600 13px Roboto,system-ui,sans-serif;font-style:normal}
.ty-login-tip{margin:12px 0 0;font-size:13.5px;line-height:1.45;opacity:.9}

/* v1.27.4 Owner: edit / delete a chat message */
.tycc-message{position:relative;}
.tycc-edited{opacity:.6;font-style:italic;margin-left:2px;}
.tycc-msg-tools{position:absolute;top:4px;right:6px;}
.tycc-message.theirs .tycc-msg-tools{right:auto;left:6px;}
.tycc-msg-dots{border:0;background:transparent;color:inherit;opacity:.45;cursor:pointer;font-size:18px;line-height:1;padding:2px 6px;border-radius:8px;}
.tycc-msg-dots:hover{opacity:1;background:rgba(0,0,0,.08);}
.tycc-msg-menu{position:absolute;top:26px;right:0;z-index:20;background:#fff;color:#2a1a0b;border:1px solid rgba(0,0,0,.12);border-radius:12px;box-shadow:0 10px 30px -8px rgba(0,0,0,.4);overflow:hidden;min-width:132px;}
.tycc-message.theirs .tycc-msg-menu{right:auto;left:0;}
.tycc-mi{display:block;width:100%;text-align:left;border:0;background:transparent;padding:11px 14px;font-size:14px;cursor:pointer;color:#2a1a0b;}
.tycc-mi:hover{background:#f3e7c9;}
.tycc-mi-del{color:#b3261e;border-top:1px solid rgba(0,0,0,.08);}
.tycc-edit-box{margin:6px 0 2px;}
.tycc-edit-box textarea{width:100%;min-height:70px;border-radius:12px;border:1.5px solid #c99a50;padding:10px 12px;font:inherit;font-size:15px;background:#fff;color:#2a1a0b;resize:vertical;}
.tycc-edit-bar{display:flex;gap:8px;margin-top:8px;}
.tycc-edit-save,.tycc-edit-cancel{border:0;border-radius:999px;padding:8px 18px;font-weight:700;font-size:14px;cursor:pointer;}
.tycc-edit-save{background:linear-gradient(180deg,#f3d88f,#d6a84c 55%,#b98a35);color:#2a1a0b;box-shadow:0 3px 0 #7a5016;}
.tycc-edit-save:disabled{opacity:.6;}
.tycc-edit-cancel{background:transparent;border:1.5px solid #c99a50;color:inherit;}

/* v1.27.5 clearer: plain Edit / Delete links under each owner message */
.tycc-msg-actions{display:flex;gap:16px;margin-top:6px;}
.tycc-message.mine .tycc-msg-actions{justify-content:flex-end;}
.tycc-message.theirs .tycc-msg-actions{justify-content:flex-start;}
.tycc-act{border:0;background:transparent;padding:0;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;color:#8a5d1b;text-decoration:underline;opacity:.9;}
.tycc-act:hover{opacity:1;}
.tycc-act-del{color:#b3261e;}

/* v1.27.6 Guided glow tour */
.tytour-ring{position:fixed;border-radius:16px;box-shadow:0 0 0 9999px rgba(12,8,4,.62);z-index:99998;pointer-events:none;transition:left .25s ease,top .25s ease,width .25s ease,height .25s ease}
.tytour-ring::after{content:"";position:absolute;inset:-4px;border-radius:18px;border:3px solid #F3D88F;box-shadow:0 0 0 2px #D6A84C,0 0 22px 7px rgba(243,216,143,.85);animation:tyglow 1.2s ease-in-out infinite}
@keyframes tyglow{0%,100%{opacity:.55}50%{opacity:1}}
.tytour-bubble{position:fixed;z-index:99999;max-width:300px;background:#FBF4E4;color:#1C130A;border-radius:16px;padding:16px 18px;box-shadow:0 18px 40px -10px rgba(0,0,0,.6);border:1.5px solid #D6A84C}
.tytour-bubble h4{margin:0 0 6px;font:700 16px/1.3 system-ui,sans-serif}
.tytour-bubble p{margin:0 0 12px;font:400 14px/1.5 system-ui,sans-serif;color:#5a4a3a}
.tytour-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tytour-dots{font-size:12px;color:#8a5d1b;font-weight:700}
.tytour-next{border:0;border-radius:999px;background:linear-gradient(180deg,#F3D88F,#D6A84C 55%,#B98A35);color:#2a1a0b;font-weight:700;font-size:14px;padding:9px 18px;cursor:pointer}
.tytour-skip{border:0;background:transparent;color:#8a5d1b;font-size:13px;text-decoration:underline;cursor:pointer}
.tytour-help{position:fixed;right:14px;bottom:88px;z-index:9997;border:0;border-radius:999px;background:#1C130A;color:#F3D88F;font-weight:700;font-size:13px;padding:10px 15px;box-shadow:0 6px 16px -4px rgba(0,0,0,.5);cursor:pointer}
.tytour-veil{position:fixed;inset:0;z-index:99997;background:transparent;cursor:pointer}

/* v-beam Roving beam (non-blocking): glow hops to each spot, page stays usable */
.tybeam{position:fixed;z-index:99998;border-radius:14px;pointer-events:none;transition:left .4s ease,top .4s ease,width .4s ease,height .4s ease}
.tybeam::after{content:"";position:absolute;inset:-4px;border-radius:16px;border:3px solid #F3D88F;box-shadow:0 0 0 2px #D6A84C,0 0 20px 6px rgba(243,216,143,.9);animation:tyglow 1.1s ease-in-out infinite}
.tybeam-label{position:fixed;z-index:99999;pointer-events:none;background:#1C130A;color:#F3D88F;font:700 13px/1.25 system-ui,sans-serif;padding:8px 12px;border-radius:10px;box-shadow:0 6px 16px -4px rgba(0,0,0,.6);max-width:230px}
.tybeam-x{position:fixed;right:14px;bottom:140px;z-index:100000;border:0;border-radius:999px;background:#1C130A;color:#F3D88F;font:700 13px system-ui,sans-serif;padding:9px 15px;box-shadow:0 6px 16px -4px rgba(0,0,0,.5);cursor:pointer}
@keyframes tyglow{0%,100%{opacity:.55}50%{opacity:1}}

/* v1.27.10 Claim your 10% card */
.tym-reward{display:flex;align-items:center;gap:12px;margin:12px 14px 0;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#2a1a0b,#3d2713);color:#F6E7C3;box-shadow:0 10px 26px -12px rgba(0,0,0,.6);border:1.5px solid #B98A35}
.tym-reward.is-ready{box-shadow:0 0 0 2px #D6A84C,0 10px 26px -10px rgba(214,168,76,.55)}
.tym-reward-ico{font-size:26px;line-height:1}
.tym-reward-tx{flex:1;min-width:0}
.tym-reward-tx b{display:block;font-size:15px;color:#F3D88F}
.tym-reward-tx small{display:block;font-size:12.5px;color:#e2d2bd;margin-top:2px}
.tym-reward-btn{flex:0 0 auto;border:0;border-radius:999px;padding:11px 18px;font:inherit;font-weight:800;font-size:14px;cursor:pointer;background:linear-gradient(180deg,#F3D88F,#D6A84C 55%,#B98A35);color:#2a1a0b;box-shadow:0 4px 0 #7a5016}
.tym-reward-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #7a5016}
.tym-reward-btn:disabled{opacity:.7}
.tym-reward.is-claimed{background:#1f3a24;border-color:#2f6b3c}
.tym-reward.is-claimed .tym-reward-tx b{color:#bfe6c6}
@keyframes tymflash{0%,100%{box-shadow:0 0 0 0 rgba(243,216,143,0)}50%{box-shadow:0 0 0 4px rgba(243,216,143,.8)}}
.tym-flash{animation:tymflash 1s ease-in-out 2;border-radius:999px}

/* v1.27.11 Dismiss missed-call bar */
.tym-missed-bar{transition:opacity .18s ease}
.tym-missed-bar .tym-missed-x{flex:0 0 auto;margin-left:2px;width:30px;height:30px;padding:0;border:0;border-radius:999px;background:rgba(90,60,40,.12);color:#6b4f3a;font-size:19px;line-height:1;cursor:pointer;box-shadow:none}
.tym-missed-bar .tym-missed-x:hover{background:rgba(90,60,40,.22)}

/* v1.27.12 Emoji picker */
.tycc-wa-emoji{cursor:pointer}
.tycc-emoji-panel{position:absolute;left:8px;right:8px;bottom:calc(100% + 8px);z-index:60;max-height:230px;overflow-y:auto;-webkit-overflow-scrolling:touch;display:grid;grid-template-columns:repeat(8,1fr);gap:2px;padding:10px;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:16px;box-shadow:0 14px 34px -10px rgba(0,0,0,.45)}
.tycc-emoji-i{border:0;background:transparent;font-size:23px;line-height:1;padding:7px 0;border-radius:10px;cursor:pointer}
.tycc-emoji-i:hover{background:rgba(201,164,100,.18)}
@media (max-width:420px){.tycc-emoji-panel{grid-template-columns:repeat(7,1fr)}.tycc-emoji-i{font-size:21px}}

/* ============================================================
   v1.28.0  Rock-solid app frame + keyboard-style emoji sheet
   ============================================================ */

/* Composer bar is the anchor for the emoji sheet */
.tym .tycc-wa-bar{position:relative}

/* Emoji sheet: spread full width, like a phone keyboard */
.tym .tycc-emoji-panel{left:0;right:0;bottom:calc(100% + 10px);grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:4px;max-height:46vh;padding:12px 10px 14px}
.tym .tycc-emoji-i{font-size:26px;padding:9px 0;border-radius:12px}
@media (max-width:420px){
  .tym .tycc-emoji-panel{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:3px;padding:10px 8px 12px}
  .tym .tycc-emoji-i{font-size:25px;padding:8px 0}
}

/* On phones the app fills the screen. The top (brand + tiles) and the
   concierge bar stay fixed. Only the messages scroll. No page scroll,
   so nothing jumps when the keyboard opens or you scroll the chat. */
@media (max-width:620px){
  html,body.ty-app-body{height:100%;overflow:hidden}
  .tym-page{display:flex;flex-direction:column;max-width:none;margin:0;padding:0;height:100vh;height:100dvh;overflow:hidden}
  .tym{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;border-radius:0;box-shadow:none}
  .tym-top{flex:0 0 auto}
  .tym-body{flex:1 1 auto;min-height:0}
  .tym.is-home .tym-body{display:flex;flex-direction:column}
  .tym.is-home .tycc-wa-header{flex:0 0 auto}
  .tym.is-home .tycc-scroll{flex:1 1 auto;min-height:0;height:auto!important;max-height:none!important}
  .tym.is-home form:has(.tycc-wa-bar){flex:0 0 auto;padding:8px 10px 6px!important;background:var(--cream)!important}
  .tym.is-home .tycc-push-row{flex:0 0 auto;margin:0}
  .tym:not(.is-home) .tym-body{overflow-y:auto;-webkit-overflow-scrolling:touch}
  .tym-install{flex:0 0 auto}
}

/* ============================================================
   v1.28.1  Spa hero photo behind the app header
   ============================================================ */
.tym-top{
  position:relative;
  padding-top:18px;
  background:
    linear-gradient(180deg, rgba(34,18,10,.60) 0%, rgba(34,18,10,.20) 38%, rgba(48,30,20,.68) 76%, rgba(52,33,22,.90) 100%),
    url(app-hero.jpg) center 26% / cover no-repeat !important;
}
/* Tiles: translucent cards so the warm photo shows through, text still clear */
.tym-tiles a{
  background:linear-gradient(180deg, rgba(58,40,31,.60), rgba(42,27,19,.72)) !important;
  box-shadow:0 2px 0 rgba(20,10,5,.30),0 8px 18px rgba(20,8,4,.34),inset 0 1px 0 rgba(255,255,255,.10) !important;
  border:1px solid rgba(255,245,230,.16);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}
.tym-tiles a:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(20,10,5,.30) !important}
.tym-tiles a.on{background:linear-gradient(180deg,#f4dcb2,#d9b47c) !important;border-color:rgba(255,255,255,.45)}

/* v1.28.3 Hard guarantee: the 4 tiles never disappear in the client app. */
.ty-app-body .tym.is-home .tym-tiles{display:grid!important}
