.video-placeholder{min-height:calc(100dvh - 190px)}
.support-body .site-footer,.support-body .service-float,.support-body .mobile-nav{display:none}.support-body{padding-bottom:0}.support-body>main{height:calc(100dvh - 72px)}
.chat-page{display:flex;flex-direction:column;height:100%;max-width:900px;padding:18px 0;margin:auto;min-height:0}.chat-head{flex-shrink:0;border-radius:12px 12px 0 0;padding:16px 20px;background:#fff;border:1px solid var(--line)}.chat-head>div{gap:12px}.chat-head h1{font-size:19px;margin:0}.chat-head p{margin:0;font-size:12px}.chat-head>a{font-size:13px}.chat-identity{display:flex;gap:6px;flex-wrap:wrap;padding:10px 18px;background:#f7faf8;font-size:12px;border-inline:1px solid var(--line)}.chat-identity>span{margin-left:auto;color:var(--muted)}
.chat-history{padding:5px;text-align:center;background:#eef3f0;font-size:12px;flex-shrink:0}.chat-history button,.conversation-pages button{border:0;background:transparent;color:var(--green);padding:5px 10px}.chat-history span{color:var(--red)}.chat-messages,.admin-messages{flex:1;min-height:0;height:auto;overflow-y:auto;overscroll-behavior:contain;background:#eef3f0;padding:18px;scroll-behavior:auto}
.chat-row{display:flex;gap:9px;margin:0 0 20px;align-items:flex-start}.chat-row.mine{flex-direction:row-reverse}.chat-avatar{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#d6e6dd;color:var(--green);font-size:12px;font-weight:700}.chat-wrap{max-width:78%;min-width:0}.chat-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin-bottom:5px}.chat-meta time{font-size:10px}.chat-meta .auto-reply-label{margin:0;font-size:11px}.chat-row.mine .chat-meta{justify-content:flex-end}.chat-row .chat-bubble{margin:0;max-width:100%;width:fit-content;border-radius:0 12px 12px 12px;padding:10px 13px;box-shadow:0 1px 3px #102b1810}.chat-row.mine .chat-bubble{border-radius:12px 0 12px 12px;background:#d9efdf;margin-left:auto}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.chat-bubble a{color:#126647;text-decoration:underline}.chat-row .chat-image{width:auto;max-width:220px;max-height:240px;cursor:zoom-in}.chat-receipt{display:block;text-align:right;font-size:10px;color:var(--muted);padding-top:4px}
.chat-compose{flex-shrink:0;background:#fff;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:10px;padding:12px 14px;border-radius:0 0 12px 12px}.chat-compose textarea{resize:none;line-height:1.5;min-height:42px;max-height:120px;padding:10px;background:#f7f9f7;font-size:16px}.chat-compose .button{min-height:44px;padding:8px 16px}.chat-compose .image-picker{height:44px}.chat-compose .image-picker span{padding:8px}.chat-compose .chat-hint{grid-column:1/-1;margin:0;font-size:10px;color:var(--muted)}.chat-compose .chat-error{grid-column:1/-1;margin:0;font-size:13px;color:#b53424}.chat-attachment{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:8px;background:#f1f6f2;min-width:0}.chat-attachment img{width:46px;height:46px;object-fit:cover}.chat-attachment span{overflow-wrap:anywhere;font-size:12px}.chat-attachment button{margin-left:auto;border:0;background:none;font-size:22px}.chat-upload{grid-column:1/-1;font-size:12px}.chat-upload progress{width:100%;height:8px;accent-color:var(--green)}
.chat-image-viewer{padding:14px;border:0;border-radius:10px;background:#15221a;color:white;max-width:95vw;max-height:95dvh}.chat-image-viewer::backdrop{background:#000c}.chat-image-viewer>button{display:block;margin-left:auto;background:none;color:#fff;border:0;padding:6px 12px}.chat-image-viewer>img{max-width:88vw;max-height:80dvh;object-fit:contain}
.support-admin-body .auto-reply-settings{margin-bottom:12px}.support-admin-body .support-console{height:calc(100dvh - 275px);min-height:500px;grid-template-columns:300px minmax(0,1fr);border-radius:10px;overflow:hidden}.conversation-pane{min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--line)}.conversation-search{display:flex;gap:6px;padding:12px;border-bottom:1px solid var(--line)}.conversation-search input{min-width:0;width:100%;font-size:12px}.conversation-list{flex:1;min-height:0;overflow-y:auto;border:0}.conversation-list>a{position:relative;padding:15px;gap:3px}.conversation-list>a:hover{background:#f5f8f6}.conversation-list b{font-size:14px;min-width:0;overflow-wrap:anywhere}.conversation-list time{font-size:9px}.conversation-list>a>span{font-size:12px;padding-right:24px}.chat-unread{position:absolute;right:12px;bottom:12px;background:#ba4535;color:#fff;font-size:10px;padding:0 6px;border-radius:12px;font-style:normal}.conversation-pages{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:7px;border-top:1px solid var(--line)}.conversation-pages button:disabled{color:#aaa;cursor:default}
.support-admin-body .support-thread{display:flex;flex-direction:column;min-height:0}.thread-heading{display:flex;align-items:center;gap:12px;background:white}.thread-heading i{font-style:normal}.mobile-conversation-back{display:none}.chat-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;font-size:12px;background:#fafbf9;border-bottom:1px solid var(--line)}.chat-note>input{flex:1;min-width:100px;padding:5px;font-size:12px}.chat-note button{border:1px solid var(--line);background:white;border-radius:3px;color:var(--green)}.chat-note>span{font-size:10px}.chat-pin{display:flex;align-items:center;gap:3px}.chat-pin input{width:auto;min-height:0}.thread-empty{justify-content:center}.chat-quick{grid-column:1/-1;font-size:12px;color:var(--green)}.chat-quick summary{cursor:pointer}.chat-quick>div{max-height:120px;overflow:auto;border:1px solid var(--line);margin-top:5px}.chat-quick button{display:block;width:100%;border:0;background:#f7f9f7;text-align:left;font-size:12px;padding:8px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-quick button:hover{background:#e0eee4}
.thread-heading>div{min-width:0;overflow-wrap:anywhere}.thread-heading>[data-open-recharge]{margin-left:auto;flex-shrink:0}.chat-recharge-dialog{width:min(440px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:24px}.chat-recharge-dialog::backdrop{background:#0008}.chat-recharge-dialog h2{margin:0;font-size:20px}.chat-recharge-dialog>p{font-size:13px;overflow-wrap:anywhere}.chat-recharge-dialog .recharge-confirm{flex-direction:row;align-items:center}.chat-recharge-dialog .recharge-confirm input{width:auto;min-height:0}.recharge-actions{display:flex;gap:10px}.chat-recharge-dialog [role=status]{font-size:13px;white-space:pre-wrap}
[hidden]{display:none!important}
.reply-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.reply-settings .admin-form{width:100%;margin:0;min-width:0}.reply-settings h2{font-size:20px;margin:0}.reply-settings p{font-size:13px;color:var(--muted);margin:0}.reply-settings button{justify-self:start}
.service-float{position:fixed;display:flex;flex-direction:column;gap:1px;z-index:100;right:22px;bottom:28px;width:60px;height:60px;align-items:center;justify-content:center;padding:0;border:1px solid #acd5ed;border-radius:50% 50% 14px 50%;background:#dcefff;color:#285a80;box-shadow:0 5px 20px #244a7526;cursor:pointer;transition:background .2s,border-color .2s}.service-float>span{font-size:19px;line-height:1.2}.service-float>small{font-size:11px;line-height:1.2}.service-float.has-unread{background:#ffe0df;border-color:#efb0ac;color:#9a3b36}.service-float>em{position:absolute;top:-7px;right:-6px;min-width:23px;padding:2px 5px;border-radius:12px;background:#cb514b;color:#fff;font-size:12px;font-style:normal;line-height:19px}.service-float:focus-visible{outline:3px solid #79b6e2;outline-offset:3px}
.service-float.with-post-float{bottom:98px}.post-float{position:fixed;display:flex;flex-direction:column;gap:1px;z-index:100;right:22px;bottom:28px;width:60px;height:60px;align-items:center;justify-content:center;padding:0;border:1px solid #e4aaa6;border-radius:50% 50% 14px 50%;background:#ffe0df;color:#913b37;box-shadow:0 5px 20px #75302a26}.post-float>span{font-size:21px;line-height:1}.post-float>small{font-size:11px;line-height:1.2}.post-float:focus-visible{outline:3px solid #e4aaa6;outline-offset:3px}
.member-post-dialog{width:min(760px,calc(100vw - 28px));height:min(820px,calc(100dvh - 28px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #d8b7b4;border-radius:14px;background:#f7f8f8;color:var(--ink);box-shadow:0 18px 60px #2228;overflow:hidden}.member-post-dialog::backdrop{background:#1d2326a8;backdrop-filter:blur(2px)}.member-post-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#f5d9d7;color:#492c2a}.member-post-dialog>header p,.member-post-dialog>header h2{margin:0}.member-post-dialog>header p{font-size:11px;color:#865c58}.member-post-dialog>header h2{font-size:20px}.member-post-dialog>header button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#fff8;color:#70423e;font-size:26px}.member-post-dialog-body{height:calc(100% - 70px);overflow:auto;padding:18px}.member-post-form{margin:0}.member-post-form .form-grid{margin:0}.post-permission-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:10px 12px;border:1px solid #dfc6c3;background:#fff4f3;font-size:13px}.post-permission-message{display:grid;place-items:center;min-height:300px;padding:30px;text-align:center}.post-permission-message b{font-size:22px}.post-permission-message p{color:var(--muted)}.member-post-open{overflow:hidden}
.support-widget{position:fixed;z-index:101;right:22px;bottom:102px;display:flex;flex-direction:column;width:min(410px,calc(100vw - 28px));height:min(620px,calc(100dvh - 130px));min-height:0;overflow:hidden;border:1px solid #cbdce6;border-radius:16px;background:#fff;box-shadow:0 12px 50px #16344733}.support-widget .chat-head{border:0;border-radius:0;padding:12px 14px;color:var(--green-dark)}.support-widget .chat-head h2{font-size:18px;margin:0}.support-widget .chat-head p{color:var(--muted)}.support-widget [data-support-close]{display:grid;place-items:center;border:0;border-radius:50%;background:#f0f5f9;color:#3e5d72;width:36px;height:36px;padding:0;font-size:26px;cursor:pointer}.support-widget .chat-identity{font-size:11px;padding:8px 12px}.support-widget .chat-messages{padding:14px 10px}.support-widget .chat-wrap{max-width:80%}.support-widget .chat-image{max-width:180px}.support-widget .chat-compose{border-radius:0;padding:10px;gap:8px}.support-widget .chat-hint{display:none}.support-guest{padding:28px 24px;display:flex;flex-direction:column;gap:16px;text-align:center;color:var(--muted)}
@media(max-width:650px){.reply-settings{grid-template-columns:1fr}.service-float{display:flex;right:16px;bottom:calc(80px + env(safe-area-inset-bottom));width:54px;height:54px}.service-float.with-post-float{bottom:calc(144px + env(safe-area-inset-bottom))}.post-float{right:16px;bottom:calc(80px + env(safe-area-inset-bottom));width:54px;height:54px}.support-widget{right:10px;bottom:calc(146px + env(safe-area-inset-bottom));width:calc(100vw - 20px);height:min(560px,calc(100dvh - 168px - env(safe-area-inset-bottom)))}.member-post-dialog{width:calc(100vw - 14px);height:calc(100dvh - 14px);border-radius:10px}.member-post-dialog-body{padding:12px}.mobile-nav{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.support-admin-body .support-console{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:650px){.support-body>main{height:calc(100dvh - 60px)}.chat-page{width:100%;padding:0}.chat-head{border-radius:0;padding:10px 14px}.chat-head h1{font-size:17px}.chat-messages,.admin-messages{padding:14px 10px}.chat-row{gap:7px}.chat-wrap{max-width:80%}.chat-row .chat-image{max-width:180px}.chat-compose{padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-radius:0;gap:8px}.chat-compose .chat-hint{display:none}.support-admin-body{padding-bottom:0}.support-admin-body .admin-main{padding:10px}.support-admin-body .admin-page-head h1{font-size:21px}.support-admin-body .admin-page-head{margin-bottom:12px}.support-admin-body .support-console{height:calc(100dvh - 280px);min-height:380px;grid-template-columns:1fr}.support-admin-body .support-thread{min-height:0}.support-admin-body .support-console:not(.has-selection) .support-thread,.support-admin-body .support-console.has-selection .conversation-pane{display:none}.support-admin-body .conversation-list{max-height:none}.mobile-conversation-back{display:block;font-size:12px;color:var(--green)}.support-admin-body:has(.has-selection) .admin-top,.support-admin-body:has(.has-selection) .admin-side,.support-admin-body:has(.has-selection) .page-back,.support-admin-body:has(.has-selection) .admin-page-head,.support-admin-body:has(.has-selection) .auto-reply-settings{display:none}.support-admin-body:has(.has-selection) .admin-main{padding:0}.support-admin-body .support-console.has-selection{height:100dvh;min-height:0;border:0;border-radius:0}}
@media(max-width:650px){.mobile-nav.tea-detail-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.tea-detail-nav>a:nth-child(1){order:1}.tea-detail-nav>a:nth-child(2){order:2}.tea-detail-nav .favorite-form{order:3}.tea-detail-nav .mobile-unlock{order:4}}
