#pksk-chat .pkc-window-controls{display:flex;align-items:center;gap:6px;flex:0 0 auto}
#pksk-chat .pkc-window-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:44px;height:44px;padding:0;border:1px solid #ffffff80;border-radius:8px;background:transparent;color:#fff;font-size:25px!important;line-height:1;flex:0 0 auto}
#pksk-chat header>div:first-child{min-width:0}
#pksk-chat .pkc-window-controls button:hover{background:#ffffff20}
#pksk-chat.pkc-fullscreen{position:fixed!important;inset:var(--pkc-window-top,0px) 0 auto!important;width:100%!important;max-width:none!important;height:var(--pkc-window-height,100dvh)!important;display:flex!important;flex-direction:column!important;z-index:2147483000!important;margin:0!important;padding:0!important}
#pksk-chat.pkc-fullscreen #pksk-chat-panel{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;flex:1 1 auto!important;margin:0!important;border:0!important;border-radius:0!important;background:#f6f8fc!important;display:flex;flex-direction:column;overflow:hidden}
#pksk-chat.pkc-fullscreen #pksk-chat-panel[hidden]{display:none!important}
#pksk-chat.pkc-fullscreen header{padding:calc(12px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));flex:0 0 auto}
#pksk-chat.pkc-fullscreen #pksk-chat-launch{display:none!important}
#pksk-chat.pkc-fullscreen #pksk-chat-log{width:100%;max-width:1000px;margin:0 auto;flex:1 1 auto;min-height:0;overflow-y:auto;padding:20px max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));font-size:16px;line-height:1.6}
#pksk-chat.pkc-fullscreen :is(form,#pksk-chat-quick,#pksk-chat-note){width:100%;max-width:1000px;margin:0 auto;flex:0 0 auto}
#pksk-chat.pkc-fullscreen #pksk-chat-note{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
#pksk-chat.pkc-fullscreen form input{font-size:16px!important}
@media(max-width:480px){#pksk-chat header{gap:8px}#pksk-chat header strong{font-size:16px}#pksk-chat header small{font-size:12px}#pksk-chat.pkc-fullscreen .pkc-msg{padding:12px;font-size:16px;line-height:1.55}}
