@media (max-width:900px),(pointer:coarse){
 .tkr-mobile-dialog{box-sizing:border-box!important;left:calc(var(--tkr-vv-left,0px) + 8px)!important;top:calc(var(--tkr-vv-top,0px) + 8px)!important;right:auto!important;bottom:auto!important;width:calc(var(--tkr-vv-width,100vw) - 16px)!important;min-width:0!important;max-width:420px!important;max-height:calc(var(--tkr-vv-height,100dvh) - 16px)!important;overflow-y:auto!important;overscroll-behavior:contain;overflow-wrap:anywhere;padding:12px!important;scroll-padding:12px}
 .tkr-mobile-dialog .btn{min-height:44px;margin:4px 3px;white-space:normal;max-width:100%}
 .tkr-mobile-dialog input,.tkr-mobile-dialog select,.tkr-mobile-dialog textarea{font-size:16px!important;max-width:100%;min-height:44px!important;box-sizing:border-box}
 .tkr-mobile-dialog p{max-width:100%!important}
 .tkr-mobile-dialog h3{font-size:18px;margin:4px 0 12px}
 .shinobi-sheet .skill-scroll{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:auto}
 .shinobi-sheet .skill-grid{grid-template-columns:repeat(5,minmax(126px,1fr) 30px) minmax(126px,1fr)!important;min-width:950px!important}
 .shinobi-sheet .skill{gap:5px;margin:5px 0}
 .shinobi-sheet .skill button{min-height:44px!important;font-size:13px!important;padding:8px 4px!important}
 .shinobi-sheet .skill input,.shinobi-sheet .skill-field-title input{width:22px!important;height:22px!important;flex:none}
 .shinobi-sheet .skill-field-title label{min-height:40px;display:flex;align-items:center;gap:4px;font-size:12px}
 .shinobi-sheet .gap-divider{min-width:30px!important}
 .shinobi-sheet .ninpo-search{grid-template-columns:minmax(0,1fr)!important}
 .shinobi-sheet .ninpo-results,.shinobi-sheet .entry-top{grid-template-columns:minmax(0,1fr)!important}
 .shinobi-sheet input:not([type=checkbox]):not([type=color]),.shinobi-sheet select,.shinobi-sheet textarea{font-size:16px!important}
 html[data-mobile] .sheet-tabs .stab{min-height:44px}
 html[data-mobile] .sheet .mbody .btn{min-height:40px}
 html[data-mobile] .sheet .input:not([type=checkbox]):not([type=color]){font-size:16px!important}
 html[data-mobile] .sheet .mbody{overflow-x:hidden}
 html[data-mobile] .mroom-nav button{min-height:48px;font-size:14px}
 html[data-mobile] .app[data-mpane]{height:var(--tkr-vv-height,var(--vvh,100dvh))!important;max-height:var(--tkr-vv-height,var(--vvh,100dvh))!important;min-height:0!important}
 html[data-mobile] .chat{min-height:0!important;min-width:0!important}
 html[data-mobile] .chat .cin{flex-wrap:nowrap;min-width:0;align-items:flex-end}
 html[data-mobile] .chat .cin textarea{font-size:16px!important;min-height:44px!important;max-height:min(110px,25dvh)!important;min-width:0;width:0;flex:1 1 0!important}
 html[data-mobile] .chat .cin .btn{min-height:44px;flex:0 0 auto}
 html[data-mobile] .chat .compose{max-height:min(48vh,calc(var(--tkr-vv-height,100dvh) * .6))!important}
 html[data-mobile][data-tkr-keyboard] .mroom-nav,html[data-mobile][data-tkr-keyboard] .rail{display:none!important}
 html[data-mobile][data-tkr-keyboard] .chat .compose{padding-bottom:8px!important}
}
