/* Nyugi V25: phone-first controls. Kept separate from earlier themes. */
.nyugi-visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;opacity:0!important;pointer-events:none!important}
.toast{pointer-events:none}
#nyugiPopupMessage [data-nyugi-attach]{min-height:44px}
#nyugiPopupMessage [type=submit]:disabled{opacity:.55;cursor:progress}
#nyugiPopupAttachmentLabel{min-height:1em;overflow-wrap:anywhere}
@media(max-width:700px){
  .main-column{min-width:0;max-width:100vw}
  .topbar{position:sticky;top:0;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;height:58px!important;min-height:58px!important;padding:6px 9px!important;box-sizing:border-box;z-index:100}
  .topbar #menuButton{display:grid;place-items:center;flex:0 0 42px!important;min-width:42px!important;width:42px!important;height:42px!important;min-height:42px!important;padding:4px!important}
  .topbar .breadcrumbs{display:none!important}
  .topbar .top-actions{display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;flex-wrap:nowrap!important;min-width:0!important;width:auto!important;max-width:none!important;margin-left:0!important}
  .topbar #saveMini{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important}
  .topbar #nyugiPresence{display:none!important}
  .topbar #v17GoldBadge{display:block;flex:0 1 auto!important;min-width:0;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(.69rem,2.9vw,.82rem);font-weight:750;padding:7px 8px;line-height:1.1}
  .topbar #clockMini{display:block;flex:0 0 auto;min-width:0;padding:5px 6px;white-space:nowrap;font-size:.72rem;line-height:1.2}
  .topbar #nyugiBell,.topbar #soundTop{display:grid;place-items:center;flex:0 0 34px;min-width:34px;min-height:36px;width:34px;height:36px;padding:4px}
  .topbar #avatarButton{display:flex;align-items:center;justify-content:center;flex:0 0 36px;min-width:36px;min-height:36px;width:36px;height:36px;margin:0;padding:0}
  #v17FloatAudio,#v17HelpButton{display:none!important}
  #nyugiChatLauncher{position:fixed;bottom:calc(77px + env(safe-area-inset-bottom));right:12px;left:auto;padding:0;width:44px;min-width:44px;height:44px;min-height:44px;justify-content:center;border-radius:50%;z-index:160}
  #nyugiChatLauncher span{display:none}
  #nyugiChatPop.nyugi-floating-chat{left:8px!important;right:8px!important;bottom:calc(75px + env(safe-area-inset-bottom))!important;width:auto!important;height:min(68dvh,570px)!important;max-height:calc(100dvh - 95px - env(safe-area-inset-bottom))!important;padding:10px!important;z-index:310!important}
  #nyugiPopupMessage{padding-bottom:8px!important}
  .toast{bottom:calc(138px + env(safe-area-inset-bottom))!important;max-width:min(88vw,360px)!important;font-size:.84rem!important;z-index:500}
  .nyugi-media-tab{right:64px!important;bottom:calc(83px + env(safe-area-inset-bottom))!important}
  .main-column main{padding-bottom:calc(128px + env(safe-area-inset-bottom))}
  .nyugi-profile-container{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  .nyugi-full-theme{height:min(51dvh,420px);min-height:260px}
  #nyugiSidebarHelp{width:100%;min-height:45px;display:block;text-align:left}
}
@media(max-width:365px){
  .topbar{gap:3px!important;padding:6px!important}
  .topbar .top-actions{gap:3px!important}
  .topbar #v17GoldBadge{max-width:74px;font-size:.68rem;padding:7px 5px}
  .topbar #clockMini{display:none!important}
}

.nyugi-beta-support{margin:12px 0;border:1px solid var(--line, #76618b);border-radius:13px;padding:12px;font-size:.82rem;line-height:1.35}
.nyugi-beta-support strong{display:block;margin-bottom:6px}
.nyugi-beta-support p{margin:0 0 10px}
.nyugi-beta-support a{display:block;text-align:center;text-decoration:none;font-weight:650;min-height:42px;align-content:center;margin-bottom:8px}
.nyugi-beta-support small{display:block;opacity:.75;font-size:.72rem}
